AL lib: oss.c:179: Could not open /dev/dsp: Device or resour

barsandcat

08-11-2009 17:49:40

OgreAL hangs in fucntion SoundManager::getDeviceList() on line ALCdevice *device = alcOpenDevice(deviceList); with PulseAudio device.
With error in log:
AL lib: oss.c:179: Could not open /dev/dsp: Device or resource busy
There is some problem in OpenAL or PulseAudio code. Simple fix is to remove pulse backend in OpenAL config file /etc/openal/alsoft.conf
drivers = alsa,oss,solaris,dsound,winmm,port,wave

Phobius

04-01-2010 07:49:22

And this only happens on this "pulse audio" device?

ronybeck

18-10-2010 01:50:55

There is some problem in OpenAL or PulseAudio code. Simple fix is to remove pulse backend in OpenAL config file /etc/openal/alsoft.conf

I would argue that removing OSS is the better approach since it is very old and has been since supplanted by alsa and more recently pulse audio. This can be configured on a per user basis by copying the /etc/alsoft.conf to /home/<username>/.alsoftrc and the appropriate changes made there. In any case, this is an OpenAL issue not an OgreAL issue.

Phobius

20-12-2010 08:09:33

I recently revamped a part of the code for that function. Try the latest revision.

Greer

02-09-2011 08:38:16

Don't know if the problem is solved, i'd rather ask whether you,barsandcat, did try this http://nullkey.ath.cx/et-sdl-sound?
Phobius, what latest revision namely?

Kaka2499

01-06-2016 11:33:46

And this only happens on this "pulse audio" device?http://nullkey.ath.cx/et-sdl-sound