Re: finite number of repetitions playing an audio source

Eric Wing <[email protected]>
Newsgroups gmane.comp.lib.openal
Message-ID <[email protected]>
>> How can I set a finite number of repetitions playing an audio source? Is
>> there another way instead of buffer
>> queuing?

At the risk of stating the obvious, assuming you have a completely
loaded sample and don't need buffer queuing to play the first
repetition, you could just implement your own counting loop to call
alSourcePlay every time the playback finishes.

-Eric
_______________________________________________
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.