simultaneous read write on soundcard?
How do I simultaneously make a read() call on the soundcard i.e. /dev/dsp and also a write() call.I have open the device using the open() call with the RDWR flag, it either only reads or only writes.
My code works when i am only writing or reading but when i do them simultaneously using threads, I can't.
I have also tried opening the soundcard in NON_BLOCKING mode, with select call, but still it doesn;t work.
I have an I810 onboard soundcard.
please suggest me something