Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jan 2012 18:12:11 +0400
From:      Ruslan Bukin <br@bsdpad.com>
To:        freebsd-multimedia@freebsd.org
Subject:   multi-mono-channel sound card
Message-ID:  <20120121141211.GA7462@jail.io>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120121141211.GA7462>