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

Commit 1ea02625 authored by Jean-Michel Trivi's avatar Jean-Michel Trivi Committed by Android (Google) Code Review
Browse files

Merge "audiopolicy: Use AUDIO_OUTPUT_FLAG_TTS for TTS stream" into mnc-dev

parents a540058e c36a8897
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -768,6 +768,9 @@ audio_io_handle_t AudioPolicyManager::getOutputForDevice(
    if (stream != AUDIO_STREAM_MUSIC) {
        flags = (audio_output_flags_t)(flags &~AUDIO_OUTPUT_FLAG_DEEP_BUFFER);
    }
    if (stream == AUDIO_STREAM_TTS) {
        flags = AUDIO_OUTPUT_FLAG_TTS;
    }

    sp<IOProfile> profile;