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.
if(_IsPlaying)
returntrue;
_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
// Streaming mode
//nlwarning("AL: Cannot play null buffer; streaming not implemented" );
//nlwarning("AL: Cannot play null buffer; streaming not implemented" );
//nlstop;
//nlstop;
}
}
else
{
nlwarning("Invalid play call, not streaming and no static buffer assigned");