[alsa-devel] how does hw:0, 1 eventually get mapped to /dev/snd/controlC0 and company? is this on the wiki somewhere?

Lee Revell rlrevell at joe-job.com
Fri Mar 30 04:10:50 CEST 2007


On 3/29/07, John Utz <John.Utz at dmx.com> wrote:
> since i dont need a generic solution, it would be very helpful to me to not use alsa-lib and just use the alsa modules the way that our current version of the player uses /dev/dsp from the alsa oss-compat kernel modules.
>
> i'd like to open and playback to /dev/snd/pcmC0D0p and /dev/snd/pcmC0D1p directly if it's a reasonable thing to do.

The alsa-lib <-> kernel interface is intentionally undocumented.  The
only officially supported interface to ALSA is via alsa-lib.

If you really refuse to use alsa-lib (it's not that big, I've used it
in embedded projects), then just enable ALSA's OSS emulation and
continue to use /dev/dsp.

Lee


More information about the Alsa-devel mailing list