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

Commit b61c6c55 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 6649874 from 74ede72d to rvc-qpr1-release

Change-Id: I3447f9d2b4869f38263a7cb703330e69f716b7bb
parents 1538f97f 74ede72d
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -2092,12 +2092,6 @@ sp<AudioFlinger::PlaybackThread::Track> AudioFlinger::PlaybackThread::createTrac
        outputFlags = (audio_output_flags_t)(outputFlags | AUDIO_OUTPUT_FLAG_FAST);
    }

    // Set DIRECT flag if current thread is DirectOutputThread. This can happen when the playback is
    // rerouted to direct output thread by dynamic audio policy.
    if (mType == DIRECT) {
        *flags = (audio_output_flags_t)(*flags | AUDIO_OUTPUT_FLAG_DIRECT);
    }

    // Check if requested flags are compatible with output stream flags
    if ((*flags & outputFlags) != *flags) {
        ALOGW("createTrack_l(): mismatch between requested flags (%08x) and output flags (%08x)",