Chromium Code Reviews

Side by Side Diff: media/filters/audio_renderer_base.cc

Issue 5091005: FBTF: Remove unneeded headers from base/ (part 9) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix win build Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« no previous file with comments | « media/base/seekable_buffer.h ('k') | media/filters/audio_renderer_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/filters/audio_renderer_base.h" 5 #include "media/filters/audio_renderer_base.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string>
8 9
9 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/logging.h"
10 #include "media/base/filter_host.h" 12 #include "media/base/filter_host.h"
11 #include "media/filters/audio_renderer_algorithm_ola.h" 13 #include "media/filters/audio_renderer_algorithm_ola.h"
12 14
13 namespace media { 15 namespace media {
14 16
15 AudioRendererBase::AudioRendererBase() 17 AudioRendererBase::AudioRendererBase()
16 : state_(kUninitialized), 18 : state_(kUninitialized),
17 recieved_end_of_stream_(false), 19 recieved_end_of_stream_(false),
18 rendered_end_of_stream_(false), 20 rendered_end_of_stream_(false),
19 pending_reads_(0) { 21 pending_reads_(0) {
(...skipping 246 matching lines...)
266 268
267 void AudioRendererBase::SetPlaybackRate(float playback_rate) { 269 void AudioRendererBase::SetPlaybackRate(float playback_rate) {
268 algorithm_->set_playback_rate(playback_rate); 270 algorithm_->set_playback_rate(playback_rate);
269 } 271 }
270 272
271 float AudioRendererBase::GetPlaybackRate() { 273 float AudioRendererBase::GetPlaybackRate() {
272 return algorithm_->playback_rate(); 274 return algorithm_->playback_rate();
273 } 275 }
274 276
275 } // namespace media 277 } // namespace media
OLDNEW
« no previous file with comments | « media/base/seekable_buffer.h ('k') | media/filters/audio_renderer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine