From 44174a8fa7b8f964d8c777510ea2badcce6b2cd4 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Thu, 9 Sep 2004 08:51:07 +0000 Subject: [PATCH] Unused function. --- stepmania/src/RageSoundManager.cpp | 2 -- stepmania/src/arch/Sound/RageSoundDriver.h | 4 ---- 2 files changed, 6 deletions(-) diff --git a/stepmania/src/RageSoundManager.cpp b/stepmania/src/RageSoundManager.cpp index 26578407af..22612e78a3 100644 --- a/stepmania/src/RageSoundManager.cpp +++ b/stepmania/src/RageSoundManager.cpp @@ -379,8 +379,6 @@ void RageSoundManager::SetPrefs(float MixVol) g_SoundManMutex.Lock(); /* lock for access to MixVolume */ MixVolume = MixVol; g_SoundManMutex.Unlock(); /* finished with MixVolume */ - - driver->VolumeChanged(); } /* Standalone helpers: */ diff --git a/stepmania/src/arch/Sound/RageSoundDriver.h b/stepmania/src/arch/Sound/RageSoundDriver.h index 0f31551156..19d249dea7 100644 --- a/stepmania/src/arch/Sound/RageSoundDriver.h +++ b/stepmania/src/arch/Sound/RageSoundDriver.h @@ -32,10 +32,6 @@ public: * hearing it. (This isn't necessarily the same as the buffer latency.) */ virtual float GetPlayLatency() const { return 0.0f; } - /* This is called if the volume changed; call SOUNDMAN->GetMixVolume() to - * get it. */ - virtual void VolumeChanged() { } - virtual int GetSampleRate( int rate ) const { return 44100; } virtual ~RageSoundDriver() { }