I’m trying to write a fullduplex program under Linux. The playback is done by Fmod and uses FSOUND_OUTPUT_OSS.

First I tried playback of a file only. This works correctly. After this I tried obtaining data from the device as well. I can not access the device, because it is busy. So no data was obtained.

After running my program with strace I found out that Fmod(with FSOUND_Init) opens the device “/dev/dsp” for writing only.

Is it possible for Fmod to open the device “/dev/dsp” for reading and writing?

Then it is possible for me to obtain the file descriptor for “/dev/dsp” and use this for recording.



  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.