This commit is contained in:
Glenn Maynard
2004-01-12 01:02:18 +00:00
parent ddf1548909
commit d7cae17107
+6
View File
@@ -510,6 +510,12 @@ void RageSound::StartPlaying()
ASSERT(!playing);
/* If StartTime is in the past, then we probably set a start time but took too
* long loading. We don't want that; log it, since it can be unobvious. */
if( StartTime.Ago() > 0 )
LOG->Trace("Sound \"%s\" has a start time %f seconds in the past",
GetLoadedFilePath().c_str(), StartTime.Ago() );
/* Tell the sound manager to start mixing us. */
playing = true;
SOUNDMAN->StartMixing(this);