diff options
| author | Matthew Parlane <parlane@gmail.com> | 2013-02-01 01:32:54 +1300 |
|---|---|---|
| committer | Matthew Parlane <parlane@gmail.com> | 2013-02-01 01:32:54 +1300 |
| commit | 33b0a11747949641a6e7d6f8b08bc9329b963283 (patch) | |
| tree | 608190c5e2ecf1f78f72a87779d92a3feb134392 /Source/Core/AudioCommon/Src/OpenALStream.cpp | |
| parent | a0a09ed07a28f661e93e94ee1a1f352dcb153ac4 (diff) | |
| parent | e199d21513de1555b8e597fa9155a88cd9e2e3ce (diff) | |
Merge branch 'master' into wii-network
Diffstat (limited to 'Source/Core/AudioCommon/Src/OpenALStream.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/Src/OpenALStream.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/AudioCommon/Src/OpenALStream.cpp b/Source/Core/AudioCommon/Src/OpenALStream.cpp index cfe6a40630..6b239a584c 100644 --- a/Source/Core/AudioCommon/Src/OpenALStream.cpp +++ b/Source/Core/AudioCommon/Src/OpenALStream.cpp @@ -316,7 +316,7 @@ void OpenALStream::SoundLoop() if (iBuffersFilled == numBuffers) { alSourcePlay(uiSource); - ALenum err = alGetError(); + err = alGetError(); if (err != 0) { ERROR_LOG(AUDIO, "Error occurred during playback: %08x", err); @@ -328,7 +328,7 @@ void OpenALStream::SoundLoop() { // Buffer underrun occurred, resume playback alSourcePlay(uiSource); - ALenum err = alGetError(); + err = alGetError(); if (err != 0) { ERROR_LOG(AUDIO, "Error occurred resuming playback: %08x", err); |
