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

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

Merge "audio policy: fix HW A/V sync rerouting" into nyc-dev

parents 9a57e34f 14cbfcae
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -954,6 +954,13 @@ audio_io_handle_t AudioPolicyManager::getOutputForDevice(
    }

non_direct_output:

    // A request for HW A/V sync cannot fallback to a mixed output because time
    // stamps are embedded in audio data
    if ((flags & AUDIO_OUTPUT_FLAG_HW_AV_SYNC) != 0) {
        return AUDIO_IO_HANDLE_NONE;
    }

    // ignoring channel mask due to downmix capability in mixer

    // open a non direct output