summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/Src/OpenALStream.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2013-01-23 23:38:49 -0500
committerLioncash <mathew1800@gmail.com>2013-01-23 23:38:49 -0500
commitfe7e691d77550195f71ae2b7af67c6395493908d (patch)
tree317ab3fa0b8a56dca58125c6e444d505a3803c69 /Source/Core/AudioCommon/Src/OpenALStream.cpp
parentb7d32b0a3d810736b2e1151d6d8b9da85ebfbcf3 (diff)
Revert "mem_fun -> mem_fn."
This reverts commit b7d32b0a3d810736b2e1151d6d8b9da85ebfbcf3. OSX C++ std library in charge of holding back progress (as usual).
Diffstat (limited to 'Source/Core/AudioCommon/Src/OpenALStream.cpp')
-rw-r--r--Source/Core/AudioCommon/Src/OpenALStream.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/Core/AudioCommon/Src/OpenALStream.cpp b/Source/Core/AudioCommon/Src/OpenALStream.cpp
index 814f720e6e..cfe6a40630 100644
--- a/Source/Core/AudioCommon/Src/OpenALStream.cpp
+++ b/Source/Core/AudioCommon/Src/OpenALStream.cpp
@@ -15,8 +15,6 @@
// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
-#include <functional>
-
#include "aldlist.h"
#include "OpenALStream.h"
#include "DPL2Decoder.h"
@@ -54,7 +52,7 @@ bool OpenALStream::Start()
//period_size_in_millisec = 1000 / refresh;
alcMakeContextCurrent(pContext);
- thread = std::thread(std::mem_fn(&OpenALStream::SoundLoop), this);
+ thread = std::thread(std::mem_fun(&OpenALStream::SoundLoop), this);
bReturn = true;
}
else
@@ -74,7 +72,7 @@ bool OpenALStream::Start()
PanicAlertT("OpenAL: can't find sound devices");
}
- // Initialize DPL2 parameters
+ // Initialise DPL2 parameters
dpl2reset();
soundTouch.clear();