From 876d741158b3cce83cd1ebb7d2a8ad8211367ca9 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 30 Nov 2004 21:43:40 +0000 Subject: [PATCH] cleanup --- stepmania/src/arch/Sound/DSoundHelpers.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/stepmania/src/arch/Sound/DSoundHelpers.cpp b/stepmania/src/arch/Sound/DSoundHelpers.cpp index 2ff0c3aefc..ca60bd0b23 100644 --- a/stepmania/src/arch/Sound/DSoundHelpers.cpp +++ b/stepmania/src/arch/Sound/DSoundHelpers.cpp @@ -100,11 +100,9 @@ DSound::DSound() { HRESULT hr; -#ifndef _XBOX // Initialize COM if( FAILED( hr = CoInitialize( NULL ) ) ) RageException::ThrowNonfatal(hr_ssprintf(hr, "CoInitialize")); -#endif // Create IDirectSound using the primary sound device if( FAILED( hr = DirectSoundCreate( NULL, &ds, NULL ) ) ) @@ -141,9 +139,7 @@ DSound::DSound() DSound::~DSound() { ds->Release(); -#ifndef _XBOX CoUninitialize(); -#endif } bool DSound::IsEmulated() const