4 Jun
2007
4 Jun
'07
10:45 a.m.
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.
Regards, Clemens