Index: media/renderers/audio_renderer_impl.cc |
diff --git a/media/renderers/audio_renderer_impl.cc b/media/renderers/audio_renderer_impl.cc |
index f0524cc1a50800974aa6f675b265e7f7b4a91c74..bc548815502a9ffc3faf04533f596b9f826be16c 100644 |
--- a/media/renderers/audio_renderer_impl.cc |
+++ b/media/renderers/audio_renderer_impl.cc |
@@ -20,7 +20,7 @@ |
#include "build/build_config.h" |
#include "media/base/audio_buffer.h" |
#include "media/base/audio_buffer_converter.h" |
-#include "media/base/audio_hardware_config.h" |
+#include "media/base/audio_latency.h" |
#include "media/base/audio_splicer.h" |
#include "media/base/bind_to_current_loop.h" |
#include "media/base/demuxer_stream.h" |
@@ -442,7 +442,7 @@ void AudioRendererImpl::Initialize(DemuxerStream* stream, |
audio_parameters_.Reset(hw_params.format(), renderer_channel_layout, |
sample_rate, hw_params.bits_per_sample(), |
- AudioHardwareConfig::GetHighLatencyBufferSize( |
+ media::AudioLatency::GetHighLatencyBufferSize( |
sample_rate, preferred_buffer_size)); |
} |