Re: alRewind on a Looping Source

Jason Daly <[email protected]>
Newsgroups gmane.comp.lib.openal
Message-ID <[email protected]>
Bob Aron wrote:
> Question:
>
> The documentation states that calling alRewind() on a source that is in the AL_PLAYING state should promote the state to AL_STOPPED, and then AL_INITIAL. There is no clear definition however of the expected behavior if the source is currently looping.
>
> Should the source:
>
> 1) promote the state to AL_STOPPED, and then AL_INITIAL and stop playing
> 2) rewind to the beginning and continue playing with no change in source state
> 3) ignore the call altogether
> 4) something else?
>   

I thing 1 was the original intent (setting the source to STOPPED first 
kind of implies this).

alSourceRewind() never seemed to have much use, even early on.

--"J"

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