Hello, I trying to use the UDA134x in full-duplex mode. I mean using the following command fd=open("/dev/dsp", O_RDWR|O_NONBLOCK); When try to open device in ReadWrite Mode an error message occurs. But it works well in ReadOnly mode, works well in WriteOnly. But not in RW mode. Is it due to a "bug" in the driver or is it due to the UDA134x hardware features ? Has anyone already test it ? Thanks
UDA134x full-duplex driver
Still no answer ? Am I the only person in this planet who want to access to audio device in ReadWrite mode ? Can anyone help ... Thanks
Could be more specific with error message? Maybe this could help: http://www.oreilly.de/catalog/multilinux/excerpt/ch14-05.htm (sample at the end)
Hi You cannot open the device in read/write mode. You have to open in read only mode or write only mode. fd=open("/dev/dsp", O_RDONLY|O_NONBLOCK); This is a constrain of the ALSA device driver.
Effectively, It works fine in READ only, also in WRITE only, but not both in the same time. I thought that the UDA1341 is a full duplex codec, I certainly must be wrong :o( So, If I well understand your comment there is noway to use it in full duplex. Very bad news ... Thanks again Regards