Commit c10518d1 authored by Michael Spang's avatar Michael Spang Committed by Commit Bot

Revert "[Chromecast] Increase the minimum buffer time padding."

This reverts commit 24f87b2a.

Reason for revert: innocent CL that conflicts with revert of 45143094

Bug: b/140341448

Original change's description:
> [Chromecast] Increase the minimum buffer time padding.
>
> Multizone follower on Android is not working because insufficient time
> was given for pushing data to the audio pipeline. This resulted in
> cropped audio buffers.
>
> Bug: 117832377
> Test: Tested multizone follower on atv and android things
> Change-Id: I92e8fbb39fa904fd3b38e4fb28d418d3e4272ac1
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1742995
> Reviewed-by: Kenneth MacKay <kmackay@chromium.org>
> Commit-Queue: Alex Leung <alexleung@google.com>
> Cr-Commit-Position: refs/heads/master@{#686627}

TBR=halliwell@chromium.org,kmackay@chromium.org,alexleung@google.com

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: 117832377
Change-Id: I851729af330d2e910f351b81fe874818bbc1134c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1779620Reviewed-by: default avatarMichael Spang <spang@chromium.org>
Commit-Queue: Michael Spang <spang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#692373}
parent 30205c69
...@@ -135,7 +135,7 @@ class AudioSinkAudioTrackImpl { ...@@ -135,7 +135,7 @@ class AudioSinkAudioTrackImpl {
private static final long MAX_TIME_IGNORING_TSTAMPS_NSECS = SEC_IN_NSEC; private static final long MAX_TIME_IGNORING_TSTAMPS_NSECS = SEC_IN_NSEC;
// Additional padding for minimum buffer time, determined experimentally. // Additional padding for minimum buffer time, determined experimentally.
private static final long MIN_BUFFERED_TIME_PADDING_USEC = 120000; private static final long MIN_BUFFERED_TIME_PADDING_USEC = ANDROID_AUDIO_PERIOD_SIZE_USEC;
// Max retries for AudioTrackBuilder // Max retries for AudioTrackBuilder
private static final int MAX_RETRIES_FOR_AUDIO_TRACKS = 1; private static final int MAX_RETRIES_FOR_AUDIO_TRACKS = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment