1

Currently under /dev/snd/, I have the following devices

controlC0
pcmC0D0c
pcmC0D0p
timer

How do I add another device (i.e. pcmC0D1p)? The system is running Android, and it currently uses tiny ALSA for audio.

user2124324
  • 161
  • 1
  • 8
  • Write a sound driver for another device, and load it. – CL. Sep 08 '15 at 20:27
  • I suppose it reflects only actual hardware. If you have connected something else (new codec) you have to find / modify or write a new driver for it. – 0andriy Sep 13 '15 at 15:30

1 Answers1

1

Requirements for a new soundcard (not what asked, but maybe what was meant):

  • Your new audio hardware is connected.
  • The kernel is compiled with a driver for the new hardware.
  • Your Android build's device-tree has configuration information, if the device uses an I2S, I2C, SPI or other low-level connection.

pcmC0D1p is another (p)layback device on the same soundcard pcmC0 (card 0).

If the soundcard, kernel and device-tree all support it, it will appear.

fadedbee
  • 42,671
  • 44
  • 178
  • 308