multi-mono-channel sound card

Ruslan Bukin br at bsdpad.com
Sat Jan 21 14:53:57 UTC 2012


Hi,

My multichannel sound card (RME HDSPe AIO) is support 
SND_FORMAT(AFMT_S32_LE, 1, 0) only.

I call pcm_addchan(..), which triggers chan_init(..,*snd_dbuf,..)
Addr of snd_dbuf I write to card in slot N.
In result I have /dev/dsp0.pN devices (one device per each mono channel)

Works perfectly, sounds great, but in mono mode.

I'm interested, what is the right way to implement 
stereo pair of channels per one device file like in OSS?

-Ruslan


More information about the freebsd-multimedia mailing list