OpenAL Soft may trigger a hang and require PulseAudio restart, using ALSA for output and the pulse plugin.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openal-soft (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
In case an OpenAL application is being run and the following conditions are met:
* OpenAL Soft is configured to use an ALSA device.
* Using this device, the output is expected to get redirected to PulseAudio.
On quit, the application may hang, at least for about 30 seconds.
In that case, OpenAL wouldn't be shut down probably, and a restart to PulseAudio will be required.
* Tested with the following lesson1 sample:
http://
* Direct link to Linux sample source:
http://
* Compilation:
1. Type "make". All relevant development files and tools are required (OpenAL, GNU g++, GNU Make)
2. Workaround to a possible error regarding undefined symbols (after typing make):
g++ -o lesson1 main.o -lopenal -lalut
Now try typing ./lesson1 and press 'q' to quit; Multiple times.
At some point, the hang explained above would occur.
A few notes to add:
* The hang is not reproduced when OpenAL Soft is configured to use an OSS device.
* It is also not reproduced when OpenAL Soft is configured to use the ALSA device hw:0.
* It's reproduced with the default and pulse ALSA devices.
** Reproduced on Ubuntu 8.10 beta.