Unused function.
This commit is contained in:
@@ -379,8 +379,6 @@ void RageSoundManager::SetPrefs(float MixVol)
|
|||||||
g_SoundManMutex.Lock(); /* lock for access to MixVolume */
|
g_SoundManMutex.Lock(); /* lock for access to MixVolume */
|
||||||
MixVolume = MixVol;
|
MixVolume = MixVol;
|
||||||
g_SoundManMutex.Unlock(); /* finished with MixVolume */
|
g_SoundManMutex.Unlock(); /* finished with MixVolume */
|
||||||
|
|
||||||
driver->VolumeChanged();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Standalone helpers: */
|
/* Standalone helpers: */
|
||||||
|
|||||||
@@ -32,10 +32,6 @@ public:
|
|||||||
* hearing it. (This isn't necessarily the same as the buffer latency.) */
|
* hearing it. (This isn't necessarily the same as the buffer latency.) */
|
||||||
virtual float GetPlayLatency() const { return 0.0f; }
|
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 int GetSampleRate( int rate ) const { return 44100; }
|
||||||
|
|
||||||
virtual ~RageSoundDriver() { }
|
virtual ~RageSoundDriver() { }
|
||||||
|
|||||||
Reference in New Issue
Block a user