add debug

This commit is contained in:
Glenn Maynard
2003-01-02 23:01:35 +00:00
parent ec72c1e406
commit be2f4df8d5
+1
View File
@@ -663,6 +663,7 @@ float RageSound::GetPositionSeconds() const
* SoundStopped has been called.
* 3. Underflow; we'll be given a larger sample number than we know about.
*/
LOG->Trace("Approximate sound time: sample %i, closest %i", cur_sample, closest_position);
return GetPlaybackRate() * closest_position / float(samplerate);
}