From 377a1c8f208cae33f1d4f088aa88fd2f21c85171 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 30 Aug 2014 23:36:00 -0400 Subject: [PATCH] AudioCommon: Get rid of now unused handle param for InitSoundStream() --- Source/Core/AudioCommon/AudioCommon.cpp | 2 +- Source/Core/AudioCommon/AudioCommon.h | 2 +- Source/Core/Core/Core.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Core/AudioCommon/AudioCommon.cpp b/Source/Core/AudioCommon/AudioCommon.cpp index 270bbec0eb..a9bca33aaf 100644 --- a/Source/Core/AudioCommon/AudioCommon.cpp +++ b/Source/Core/AudioCommon/AudioCommon.cpp @@ -25,7 +25,7 @@ SoundStream *soundStream = nullptr; namespace AudioCommon { - SoundStream *InitSoundStream(void *hWnd) + SoundStream* InitSoundStream() { CMixer *mixer = new CMixer(48000); diff --git a/Source/Core/AudioCommon/AudioCommon.h b/Source/Core/AudioCommon/AudioCommon.h index 4fd4b6a965..95fd3f7d8c 100644 --- a/Source/Core/AudioCommon/AudioCommon.h +++ b/Source/Core/AudioCommon/AudioCommon.h @@ -14,7 +14,7 @@ extern SoundStream *soundStream; namespace AudioCommon { - SoundStream *InitSoundStream(void *hWnd); + SoundStream* InitSoundStream(); void ShutdownSoundStream(); std::vector GetSoundBackends(); void PauseAndLock(bool doLock, bool unpauseOnUnlock=true); diff --git a/Source/Core/Core/Core.cpp b/Source/Core/Core/Core.cpp index 4e3d874133..4907de80cd 100644 --- a/Source/Core/Core/Core.cpp +++ b/Source/Core/Core/Core.cpp @@ -363,7 +363,7 @@ void EmuThread() } - AudioCommon::InitSoundStream(g_pWindowHandle); + AudioCommon::InitSoundStream(); // The hardware is initialized. g_bHwInit = true;