summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/Src/OpenALStream.cpp
diff options
context:
space:
mode:
authorMatthew Parlane <parlane@gmail.com>2012-12-24 12:58:15 +1300
committerMatthew Parlane <parlane@gmail.com>2012-12-24 12:58:15 +1300
commitf6418bd09357a528bc495f6854512586d76f28c6 (patch)
treece7748e276363190022f766f4e2d3664712f7c58 /Source/Core/AudioCommon/Src/OpenALStream.cpp
parentd9dd94ac8b696ceb0e6b32eaafcc302b41f43bd1 (diff)
parenteedca572702c7416805375bd652c56af8665d167 (diff)
Merge branch 'master' into wii-usb
Diffstat (limited to 'Source/Core/AudioCommon/Src/OpenALStream.cpp')
-rw-r--r--Source/Core/AudioCommon/Src/OpenALStream.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/AudioCommon/Src/OpenALStream.cpp b/Source/Core/AudioCommon/Src/OpenALStream.cpp
index 99220f0ed2..2abd357782 100644
--- a/Source/Core/AudioCommon/Src/OpenALStream.cpp
+++ b/Source/Core/AudioCommon/Src/OpenALStream.cpp
@@ -123,7 +123,6 @@ void OpenALStream::SoundLoop()
{
Common::SetCurrentThreadName("Audio thread - openal");
- ALenum err;
u32 ulFrequency = m_mixer->GetSampleRate();
memset(uiBuffers, 0, OAL_NUM_BUFFERS * sizeof(ALuint));
@@ -144,8 +143,8 @@ void OpenALStream::SoundLoop()
// Set the default sound volume as saved in the config file.
alSourcef(uiSource, AL_GAIN, fVolume);
- err = alGetError();
// TODO: Error handling
+ //ALenum err = alGetError();
ALint iBuffersFilled = 0;
ALint iBuffersProcessed = 0;