From 3c256cf321f820f9d87399b9e254e4400c354c31 Mon Sep 17 00:00:00 2001 From: Dave Sparks Date: Mon, 7 Dec 2009 13:01:01 -0800 Subject: [PATCH] More SoundPool cleanup. Remove mSoundPoolRef and unused notify callback. --- media/jni/soundpool/SoundPool.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/media/jni/soundpool/SoundPool.h b/media/jni/soundpool/SoundPool.h index e0ead9a18a7a7..94cd978734ea3 100644 --- a/media/jni/soundpool/SoundPool.h +++ b/media/jni/soundpool/SoundPool.h @@ -186,9 +186,6 @@ private: SoundPool() {} // no default constructor bool startThreads(); void doLoad(sp& sample); - inline void notify(const SoundPoolEvent* event) { - android_soundpool_SoundPool_notify(mSoundPoolRef, event); - } sp findSample(int sampleID) { return mSamples.valueFor(sampleID); } SoundChannel* findChannel (int channelID); SoundChannel* findNextChannel (int channelID); @@ -202,7 +199,6 @@ private: int run(); void quit(); - jobject mSoundPoolRef; Mutex mLock; Mutex mRestartLock; Condition mCondition;