Re: Sound doesn't play anymore after a few plays

Chris Robinson <[email protected]>
Newsgroups gmane.comp.lib.openal
Message-ID <[email protected]>
On Tuesday 20 April 2010 3:30:52 am Arnau Font wrote:
> Hi,
> 
> I'm using OpenAL to play some sounds in my application (under Linux). I
> play a sound every more or less 3 or 4 seconds. Everything is fine, but if
> I leave the application running all night long, the next day no sound is
> being played.

Hi.

What device is being used when this happens ("ALSA Software", "PulseAudio 
Software", etc)? You can check with:
alcGetString(Device, ALC_DEVICE_SPECIFIER);
If you're using alutInit to set up the device, you can instead do:
alcGetString(alcGetContextsDevice(alcGetCurrentContext()),
             ALC_DEVICE_SPECIFIER);

I've heard reports before of the ALSA backend stopping sound output when it's 
left to play non-stop for several hours, and it sounds like this may be the 
same issue. Unfortunately I haven't been able to track down the actual 
problem, yet.
_______________________________________________
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.