mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-25 14:05:00 +00:00
AudioCommon: rename ClearAudioBuffer(mute) to SetSoundStreamRunning(running)
This commit is contained in:
parent
7bcdd1a46a
commit
d6985fc3e8
3 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||||
|
|
|
@ -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();
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Add table
Reference in a new issue