summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/Src/AOSoundStream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/AudioCommon/Src/AOSoundStream.cpp')
-rw-r--r--Source/Core/AudioCommon/Src/AOSoundStream.cpp19
1 files changed, 1 insertions, 18 deletions
diff --git a/Source/Core/AudioCommon/Src/AOSoundStream.cpp b/Source/Core/AudioCommon/Src/AOSoundStream.cpp
index e09a4cff29..632bc450c8 100644
--- a/Source/Core/AudioCommon/Src/AOSoundStream.cpp
+++ b/Source/Core/AudioCommon/Src/AOSoundStream.cpp
@@ -19,12 +19,9 @@
#include "AOSoundStream.h"
#include "Mixer.h"
-#include "../../../PluginSpecs/pluginspecs_dsp.h"
#if defined(HAVE_AO) && HAVE_AO
-extern DSPInitialize g_dspInitialize;
-
void AOSound::SoundLoop()
{
uint_32 numBytesToRender = 256;
@@ -54,8 +51,7 @@ void AOSound::SoundLoop()
{
soundCriticalSection.Enter();
m_mixer->Mix(realtimeBuffer, numBytesToRender >> 2);
- if(!g_muted)
- ao_play(device, (char*)realtimeBuffer, numBytesToRender);
+ ao_play(device, (char*)realtimeBuffer, numBytesToRender);
soundCriticalSection.Leave();
if (! threadData)
@@ -86,19 +82,6 @@ void AOSound::Update()
soundSyncEvent.Set();
}
-void AOSound::Clear()
-{
- if(!*g_dspInitialize.pEmulatorState)
- {
- g_muted = false;
- }
- else
- {
- g_muted = true;
- }
- Update();
-}
-
void AOSound::Stop()
{
soundCriticalSection.Enter();