[alsa-devel] Alsa-OSS Duplex bug (revisited)

Alan Horstmann gineera at aspect135.co.uk
Mon Jun 4 13:51:15 CEST 2007


On Monday 04 June 2007 09:45, you wrote:
> Alan Horstmann wrote:
> > So that there is no misunderstanding, are you willing to confirm that, as
> > far as Alsa-OSS goes, opening both
> > 	input_handle = open("/dev/dsp", O_RDONLY)
> > and
> > 	output_handle = open("/dev/dsp", O_WRONLY)
> > at the same time is a reliable way to open the device bi-directional,
> > enabling different sample formats and/or numbers of channels to be set? 
> > (Actually, I am curious whether different sample rates would also work?)
>
> Yes; yes.
>
> This is the _only_ way.  If the hardware supports it, any driver (not
> only ALSA) has no choice but to support this.
>

Thanks Clemens for confirming that, and your earlier inputs.

Alan


More information about the Alsa-devel mailing list