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

Commit 01bf6a0a authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "audioflinger: Initialize field in constructor" into sc-v2-dev

parents 069bc415 ee71ebd1
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -565,6 +565,12 @@ private:
            : mChain(owner)
            : mChain(owner)
            , mThread(thread)
            , mThread(thread)
            , mAudioFlinger(*gAudioFlinger) {
            , mAudioFlinger(*gAudioFlinger) {
            sp<ThreadBase> base = thread.promote();
            if (base != nullptr) {
                mThreadType = base->type();
            } else {
                mThreadType = ThreadBase::MIXER;  // assure a consistent value.
            }
        }
        }


        status_t createEffectHal(const effect_uuid_t *pEffectUuid,
        status_t createEffectHal(const effect_uuid_t *pEffectUuid,