Altera_Forum
Honored Contributor
20 years agoerr opening dev/dsp
Hi folks
I am having a problem opening /dev/dsp with an application. It tries to open the device /dev/dsp # define AUDIO_DEVICE /dev/dspfd=open(AUDIO_DEVICE, O_RDWR|O_NONBLOCK); this returns -1 to fd. I tought this might be because I'm using a ROM filesystem. Therefore I tried using fd=open(AUDIO_DEVICE, O_RDONLY|O_NONBLOCK); this did'nt help though. Any ideas what to do? Regards Michael E