| Index: media/audio/audio_output_dispatcher.cc
|
| diff --git a/media/audio/audio_output_dispatcher.cc b/media/audio/audio_output_dispatcher.cc
|
| index b1f265b48da6794cedf449c03250996230d714cc..1ac7e8aeb3dc27b7aa08ef5d61db26db632550de 100644
|
| --- a/media/audio/audio_output_dispatcher.cc
|
| +++ b/media/audio/audio_output_dispatcher.cc
|
| @@ -17,8 +17,8 @@ AudioOutputDispatcher::AudioOutputDispatcher(
|
| message_loop_(MessageLoop::current()),
|
| params_(params),
|
| pause_delay_(base::TimeDelta::FromMilliseconds(
|
| - 2 * params.samples_per_packet *
|
| - base::Time::kMillisecondsPerSecond / params.sample_rate)),
|
| + 2 * params.frames_per_buffer() *
|
| + base::Time::kMillisecondsPerSecond / params.sample_rate())),
|
| paused_proxies_(0),
|
| ALLOW_THIS_IN_INITIALIZER_LIST(weak_this_(this)),
|
| close_timer_(FROM_HERE,
|
|
|