[Openal] How long time Ogg EXT plays before stop

admin stargazer at lunarstuff.com
Sun Apr 4 11:18:15 PDT 2004


Hello all,

The strange thing for me.
When I try to stop Ogg Vorbis music manually - a music stops without problems.
Otherwise, when my program stops a Ogg Vorbis music like this:
       alSourceStop(source);
and immediately changing OpenAL context (AluExit(), then AluInit() without any delay),
a short tail of buffer plays again and again until exit program.

I think, a reason of such behavior is - Vorbis extension needs a
little time to terminate replaying.
How can I determine did extension stopped replaying?
My attempt to do this with
       alGetSourcei( _source, AL_SOURCE_STATE, @value);
brings no result.
  

-- 
Best regards,
 admin                          mailto:stargazer at lunarstuff.com




More information about the Openal mailing list