Fixed: Always commit 3d positioning when calling play on sources. This avoids having to wait for update call. Sources no longer cause loud noise when ryzom client finishes loading
_StartTime=CTime::getLocalTime();// TODO: Played time should freeze when buffering fails, and be calculated based on the number of buffers played plus passed time. This is necessary for synchronizing animation with sound.
returntrue;
_IsPlaying=(alGetError()==AL_NO_ERROR);
if(_IsPlaying)
_StartTime=CTime::getLocalTime();// TODO: Played time should freeze when buffering fails, and be calculated based on the number of buffers played plus passed time. This is necessary for synchronizing animation with sound.
return_IsPlaying;
// Streaming mode
//nlwarning("AL: Cannot play null buffer; streaming not implemented" );
//nlstop;
}
else
{
nlwarning("Invalid play call, not streaming and no static buffer assigned");