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

Commit e741f50b authored by Eric Laurent's avatar Eric Laurent Committed by Android (Google) Code Review
Browse files

Merge "audioflinger: do not spatialize mono or stereo tracks"

parents c1d3178a b24cf2a9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -108,7 +108,8 @@ public:
    audio_attributes_t  attributes() const { return mAttr; }

            bool canBeSpatialized() const { return mIsOut && (mAttr.flags
                    & (AUDIO_FLAG_CONTENT_SPATIALIZED | AUDIO_FLAG_NEVER_SPATIALIZE)) == 0; }
                        & (AUDIO_FLAG_CONTENT_SPATIALIZED | AUDIO_FLAG_NEVER_SPATIALIZE)) == 0
                    && mChannelCount > 2; }

#ifdef TEE_SINK
           void         dumpTee(int fd, const std::string &reason) const {