mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-30 06:32:56 +00:00
AudioCommon: const correctness
This commit is contained in:
parent
d078c6cb35
commit
128d762aea
@ -132,7 +132,7 @@ void ClearAudioBuffer(bool mute)
|
|||||||
g_sound_stream->Clear(mute);
|
g_sound_stream->Clear(mute);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SendAIBuffer(short* samples, unsigned int num_samples)
|
void SendAIBuffer(const short* samples, unsigned int num_samples)
|
||||||
{
|
{
|
||||||
if (!g_sound_stream)
|
if (!g_sound_stream)
|
||||||
return;
|
return;
|
||||||
|
@ -20,7 +20,7 @@ void ShutdownSoundStream();
|
|||||||
std::vector<std::string> GetSoundBackends();
|
std::vector<std::string> GetSoundBackends();
|
||||||
void UpdateSoundStream();
|
void UpdateSoundStream();
|
||||||
void ClearAudioBuffer(bool mute);
|
void ClearAudioBuffer(bool mute);
|
||||||
void SendAIBuffer(short* samples, unsigned int num_samples);
|
void SendAIBuffer(const short* samples, unsigned int num_samples);
|
||||||
void StartAudioDump();
|
void StartAudioDump();
|
||||||
void StopAudioDump();
|
void StopAudioDump();
|
||||||
void IncreaseVolume(unsigned short offset);
|
void IncreaseVolume(unsigned short offset);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user