Disable a trace I don't need right now;

error check.
This commit is contained in:
Glenn Maynard
2003-07-09 20:40:28 +00:00
parent a9e859f6fa
commit 7639f547f4
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -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)