add debug
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user