Re: Some problems with OpenAL under Linux

Chris Robinson <[email protected]>
Newsgroups gmane.comp.lib.openal
Message-ID <[email protected]>
On Wednesday 23 December 2009 5:20:42 am you wrote:
> I'm using the latest version available (OpenAL version string: 1.1 ALSOFT
>  1.10.622). ompiled from sources. The same problems occurre when using the
>  pre-installed Karmic version. And yes, PulseAudio is installed. Should I
>  uninstall it? By the way, there are no problems running the same
>  application on a Leopard Mac.

No need to uninstall it, though you may need to update to the latest sources 
from Git. Ideally, if you have PulseAudio running, you should use the 
PulseAudio backend (distros that use Pulse by default usually patch OpenAL 
Soft to try Pulse first), now that it's working. The 1.10 release has a 
problem with Pulse 0.9.21, but this is fixed in OpenAL Soft's Git/SVN version.

> UPDATE: I have compiled the application today and it runs just fine. Maybe
>  it was something with a missed resource deallocation since I had a bug in
>  my application at first and didn't reboot the machine after that. Could it
>  be so when a thread exits, audio devices and contexts are not released
>  automatically?

Generally those resources are freed automatically when the process exits, 
whether or not the app/OpenAL closes them (though it does try to when the lib 
is unloaded). I've never had a problem with either Pulse or pure ALSA 
releasing device resources when the process terminates unexpectedly, even via 
SIGKILL.
_______________________________________________
Openal mailing list
[email protected]
http://opensource.creative.com/mailman/listinfo/openal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.