Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 62679112 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change I3c256cf3 into eclair-mr2

* changes:
  More SoundPool cleanup. Remove mSoundPoolRef and unused notify callback.
parents ffacbc34 3c256cf3
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -186,9 +186,6 @@ private:
    SoundPool() {} // no default constructor
    bool startThreads();
    void doLoad(sp<Sample>& sample);
    inline void notify(const SoundPoolEvent* event) {
        android_soundpool_SoundPool_notify(mSoundPoolRef, event);
    }
    sp<Sample> 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;