AudioCommon: const correctness

This commit is contained in:
Lioncash 2016-07-31 19:14:20 -04:00
parent d078c6cb35
commit 128d762aea
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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);