diff --git a/stepmania/src/arch/Sound/DSoundHelpers.cpp b/stepmania/src/arch/Sound/DSoundHelpers.cpp index a5da8e8e27..4f5b172fcc 100644 --- a/stepmania/src/arch/Sound/DSoundHelpers.cpp +++ b/stepmania/src/arch/Sound/DSoundHelpers.cpp @@ -143,7 +143,8 @@ void DSoundBuf::SetSampleRate(int hz) { samplerate = hz; HRESULT hr = buf->SetFrequency(hz); - LOG->Trace(hr_ssprintf(hr, "samp")); + if(FAILED(hr)) + RageException::Throw(hr_ssprintf(hr, "buf->SetFrequency(%i)", hz)); } void DSoundBuf::SetVolume(float vol) diff --git a/stepmania/src/arch/Sound/RageSoundDriver_DSound.cpp b/stepmania/src/arch/Sound/RageSoundDriver_DSound.cpp index 2411bd197a..c9031768f0 100644 --- a/stepmania/src/arch/Sound/RageSoundDriver_DSound.cpp +++ b/stepmania/src/arch/Sound/RageSoundDriver_DSound.cpp @@ -250,7 +250,7 @@ void RageSound_DSound::StartMixing(RageSound *snd) if(stream_pool[i]->state == stream_pool[i]->INACTIVE) stream_pool[i]->state = stream_pool[i]->PLAYING; - LOG->Trace("new sound assigned to channel %i", i); +// LOG->Trace("new sound assigned to channel %i", i); } /* Called by a RageSound; asks us to stop mixing them. When this