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

Commit 3c256cf3 authored by Dave Sparks's avatar Dave Sparks
Browse files

More SoundPool cleanup. Remove mSoundPoolRef and unused notify callback.

parent 9d5b7aca
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;