[Openal] Re: OpenAL Soft performance question
Jason Daly
jdaly at ist.ucf.edu
Wed Oct 7 07:56:02 PDT 2009
Sam Brown wrote:
> If it helps, I did something similar: I set an app that played two
> sounds simultaneously. One was a ten second sample that looped that
> was stopped and restarted after a random period of time (between 5
> and 20 seconds), and one short (about half a second) that retriggered
> when the previous instance of it had finished. The app did nothing
> else, although it was using OpenGL to display information.
>
> After about 6 hours, regardless of the amount of sounds played, the
> audio started corrupting, usually in the form of long periods of
> silence with the occasional burst of the samples.
>
> OpenAL wasn't returning any errors on any actions, even after the
> corruption had started. It seemed to think that the sounds had either
> stopped immediately, or not stopped at all.
>
> This was on a _very_ basic build of Gentoo, running inside a bare
> X server.
>
Not sure if this means anything or not, but...
6 (hours) * 3600 (sec/hour) * 48000 (samples/sec) * 2 (channels) =
2073600000
which is fairly close to 2^31 or the max for a signed 32-bit integer.
Could there be an overflow happening somewhere?
--"J"
More information about the Openal
mailing list