summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/OpenSLESStream.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-05-24 04:13:02 -0400
committerLioncash <mathew1800@gmail.com>2015-05-24 05:49:41 -0400
commit35ee8a136237042efa6987e954c135f91a065cd0 (patch)
treed84a20d521f2a3eb8a4f4ecaca95d577798e294e /Source/Core/AudioCommon/OpenSLESStream.h
parenta6e5fd1e27385bb68844584927d45ec32b99eb55 (diff)
SoundStream: Internally construct the mixer
Instead of creating the mixer externally and then passing it in, it can just be made within the class.
Diffstat (limited to 'Source/Core/AudioCommon/OpenSLESStream.h')
-rw-r--r--Source/Core/AudioCommon/OpenSLESStream.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/Source/Core/AudioCommon/OpenSLESStream.h b/Source/Core/AudioCommon/OpenSLESStream.h
index 8635726712..47f4e879d1 100644
--- a/Source/Core/AudioCommon/OpenSLESStream.h
+++ b/Source/Core/AudioCommon/OpenSLESStream.h
@@ -13,15 +13,6 @@ class OpenSLESStream final : public SoundStream
{
#ifdef ANDROID
public:
- OpenSLESStream(CMixer *mixer)
- : SoundStream(mixer)
- {
- }
-
- virtual ~OpenSLESStream()
- {
- }
-
virtual bool Start();
virtual void Stop();
static bool isValid() { return true; }
@@ -29,11 +20,5 @@ public:
private:
std::thread thread;
Common::Event soundSyncEvent;
-#else
-public:
- OpenSLESStream(CMixer *mixer)
- : SoundStream(mixer)
- {
- }
#endif // HAVE_OPENSL
};