error -1 returned from alSourcePlay

Steven Fuchs <[email protected]> Tue, 01 Jan 2013 23:26:16 -0500
Newsgroups gmane.comp.lib.openal
Message-ID <[email protected]>
Hello All, Thanks in advance for any help that can be given.

Trying to improve a sound engine for an open source game and I run into an odd problem during stress testing. This is that some sources (and associated data) can play jus fine, for a while, but all of a sudden the calls to alSourcePlay start returning -1 (Unknown Internal Error). This doesn't seem to be documented as a possible rerun value, any idea what causes it?

Once this happens it seems to never stop happening. At least for that sound, others do seem to play. I'm under the impression that you can play the same data from two different sources. Is there some sort of timing limit to get this to work? I haven't pinned down the exact situation but so far I've only been able to recreate it in massive battles.

This is on a Macbook Pro running Mountain Lion.

Thanks in Advance.

steve
_______________________________________________
Openal mailing list
[email protected]
http://opensource.creative.com/mailman/listinfo/openal