diff options
| author | Lioncash <mathew1800@gmail.com> | 2016-07-31 19:14:20 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2016-07-31 19:14:20 -0400 |
| commit | 128d762aeabb1cc56d19cb603ff6ff0bb0f478ca (patch) | |
| tree | 8e5769020874047cb832ca0e6ff1f44c486051eb /Source/Core/AudioCommon | |
| parent | d078c6cb35219dd26fb83f16f7e00a545d49bd67 (diff) | |
AudioCommon: const correctness
Diffstat (limited to 'Source/Core/AudioCommon')
| -rw-r--r-- | Source/Core/AudioCommon/AudioCommon.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/AudioCommon/AudioCommon.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/AudioCommon/AudioCommon.cpp b/Source/Core/AudioCommon/AudioCommon.cpp index 41ebe4e04e..dd0b31b916 100644 --- a/Source/Core/AudioCommon/AudioCommon.cpp +++ b/Source/Core/AudioCommon/AudioCommon.cpp @@ -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; diff --git a/Source/Core/AudioCommon/AudioCommon.h b/Source/Core/AudioCommon/AudioCommon.h index f7eda7be82..9b70a3ce4b 100644 --- a/Source/Core/AudioCommon/AudioCommon.h +++ b/Source/Core/AudioCommon/AudioCommon.h @@ -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); |
