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

Commit d2a52727 authored by Andre Eisenbach's avatar Andre Eisenbach Committed by Gerrit Code Review
Browse files

Merge "Remove throttle logcat for bluetooth"

parents cfbaedf0 9ab9f621
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2995,7 +2995,9 @@ bool AudioFlinger::PlaybackThread::threadLoop()
                            uint32_t diff = mThreadThrottleTimeMs - mThreadThrottleEndMs;
                            if (diff > 0) {
                                // notify of throttle end on debug log
                                ALOGD("mixer(%p) throttle end: throttle time(%u)", this, diff);
                                // but prevent spamming for bluetooth
                                ALOGD_IF(!audio_is_a2dp_out_device(outDevice()),
                                        "mixer(%p) throttle end: throttle time(%u)", this, diff);
                                mThreadThrottleEndMs = mThreadThrottleTimeMs;
                            }
                        }