AudioCommon: rename ClearAudioBuffer(mute) to SetSoundStreamRunning(running)
This commit is contained in:
parent
7bcdd1a46a
commit
d6985fc3e8
|
@ -159,10 +159,10 @@ void UpdateSoundStream()
|
|||
}
|
||||
}
|
||||
|
||||
void ClearAudioBuffer(bool mute)
|
||||
void SetSoundStreamRunning(bool running)
|
||||
{
|
||||
if (g_sound_stream)
|
||||
g_sound_stream->Clear(mute);
|
||||
g_sound_stream->Clear(running);
|
||||
}
|
||||
|
||||
void SendAIBuffer(const short* samples, unsigned int num_samples)
|
||||
|
|
|
@ -24,7 +24,7 @@ bool SupportsDPL2Decoder(const std::string& backend);
|
|||
bool SupportsLatencyControl(const std::string& backend);
|
||||
bool SupportsVolumeChanges(const std::string& backend);
|
||||
void UpdateSoundStream();
|
||||
void ClearAudioBuffer(bool mute);
|
||||
void SetSoundStreamRunning(bool running);
|
||||
void SendAIBuffer(const short* samples, unsigned int num_samples);
|
||||
void StartAudioDump();
|
||||
void StopAudioDump();
|
||||
|
|
|
@ -147,7 +147,7 @@ static void RunAdjacentSystems(bool running)
|
|||
{
|
||||
// NOTE: We're assuming these will not try to call Break or EnableStepping.
|
||||
Fifo::EmulatorState(running);
|
||||
AudioCommon::ClearAudioBuffer(!running);
|
||||
AudioCommon::SetSoundStreamRunning(running);
|
||||
}
|
||||
|
||||
void Stop()
|
||||
|
|
Loading…
Reference in New Issue