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

Commit c7ea3dd2 authored by Preetam Singh Ranawat's avatar Preetam Singh Ranawat
Browse files

audiopolicy: enable deep buffer output by default for music streams

 -By default return true for property audio.deep_buffer.media to
  use deep buffer output for music streams

Change-Id: I6303c6bcc949274d862a5de5d982d32c52108b76
parent fbcef799
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1372,7 +1372,7 @@ audio_io_handle_t AudioPolicyManagerCustom::getOutputForDevice(
        flags = (audio_output_flags_t)(flags &~AUDIO_OUTPUT_FLAG_DEEP_BUFFER);
    } else if (/* stream == AUDIO_STREAM_MUSIC && */
            flags == AUDIO_OUTPUT_FLAG_NONE &&
            property_get_bool("audio.deep_buffer.media", false /* default_value */)) {
            property_get_bool("audio.deep_buffer.media", true/* default_value */)) {
        flags = (audio_output_flags_t)AUDIO_OUTPUT_FLAG_DEEP_BUFFER;
    }