Skip to content

Commit

Permalink
Merge pull request #4075 from lioncash/const
Browse files Browse the repository at this point in the history
AudioCommon: const correctness
  • Loading branch information
delroth committed Aug 1, 2016
2 parents d078c6c + 128d762 commit a43f921
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/Core/AudioCommon/AudioCommon.cpp
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/AudioCommon/AudioCommon.h
Expand Up @@ -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);
Expand Down

0 comments on commit a43f921

Please sign in to comment.