30 Mar
2007
30 Mar
'07
4:10 a.m.
On 3/29/07, John Utz John.Utz@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