Merge pull request #4075 from lioncash/const
AudioCommon: const correctness
This commit is contained in:
commit
a43f92156f
|
@ -132,7 +132,7 @@ void ClearAudioBuffer(bool 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)
|
||||
return;
|
||||
|
|
|
@ -20,7 +20,7 @@ void ShutdownSoundStream();
|
|||
std::vector<std::string> GetSoundBackends();
|
||||
void UpdateSoundStream();
|
||||
void ClearAudioBuffer(bool mute);
|
||||
void SendAIBuffer(short* samples, unsigned int num_samples);
|
||||
void SendAIBuffer(const short* samples, unsigned int num_samples);
|
||||
void StartAudioDump();
|
||||
void StopAudioDump();
|
||||
void IncreaseVolume(unsigned short offset);
|
||||
|
|
Loading…
Reference in New Issue