AudioCommon: rename ClearAudioBuffer(mute) to SetSoundStreamRunning(running)

This commit is contained in:
Michael M 2017-10-21 12:35:58 -07:00
parent 7bcdd1a46a
commit d6985fc3e8
3 changed files with 4 additions and 4 deletions

View File

@ -159,10 +159,10 @@ void UpdateSoundStream()
} }
} }
void ClearAudioBuffer(bool mute) void SetSoundStreamRunning(bool running)
{ {
if (g_sound_stream) if (g_sound_stream)
g_sound_stream->Clear(mute); g_sound_stream->Clear(running);
} }
void SendAIBuffer(const short* samples, unsigned int num_samples) void SendAIBuffer(const short* samples, unsigned int num_samples)

View File

@ -24,7 +24,7 @@ bool SupportsDPL2Decoder(const std::string& backend);
bool SupportsLatencyControl(const std::string& backend); bool SupportsLatencyControl(const std::string& backend);
bool SupportsVolumeChanges(const std::string& backend); bool SupportsVolumeChanges(const std::string& backend);
void UpdateSoundStream(); void UpdateSoundStream();
void ClearAudioBuffer(bool mute); void SetSoundStreamRunning(bool running);
void SendAIBuffer(const short* samples, unsigned int num_samples); void SendAIBuffer(const short* samples, unsigned int num_samples);
void StartAudioDump(); void StartAudioDump();
void StopAudioDump(); void StopAudioDump();

View File

@ -147,7 +147,7 @@ static void RunAdjacentSystems(bool running)
{ {
// NOTE: We're assuming these will not try to call Break or EnableStepping. // NOTE: We're assuming these will not try to call Break or EnableStepping.
Fifo::EmulatorState(running); Fifo::EmulatorState(running);
AudioCommon::ClearAudioBuffer(!running); AudioCommon::SetSoundStreamRunning(running);
} }
void Stop() void Stop()