Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(205)

Side by Side Diff: content/renderer/media/audio_renderer_impl.cc

Issue 8220006: Rename RenderView to RenderViewImpl. Update Chrome's DEPS so that it can't include the RenderView... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "content/renderer/media/audio_renderer_impl.h" 5 #include "content/renderer/media/audio_renderer_impl.h"
6 6
7 #include <math.h> 7 #include <math.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "content/common/child_process.h" 13 #include "content/common/child_process.h"
14 #include "content/common/content_switches.h" 14 #include "content/common/content_switches.h"
15 #include "content/common/media/audio_messages.h" 15 #include "content/common/media/audio_messages.h"
16 #include "content/renderer/render_thread_impl.h" 16 #include "content/renderer/render_thread_impl.h"
17 #include "content/renderer/render_view.h"
18 #include "media/audio/audio_buffers_state.h" 17 #include "media/audio/audio_buffers_state.h"
19 #include "media/audio/audio_output_controller.h" 18 #include "media/audio/audio_output_controller.h"
20 #include "media/audio/audio_util.h" 19 #include "media/audio/audio_util.h"
21 #include "media/base/filter_host.h" 20 #include "media/base/filter_host.h"
22 21
23 // Static variable that says what code path we are using -- low or high 22 // Static variable that says what code path we are using -- low or high
24 // latency. Made separate variable so we don't have to go to command line 23 // latency. Made separate variable so we don't have to go to command line
25 // for every DCHECK(). 24 // for every DCHECK().
26 AudioRendererImpl::LatencyType AudioRendererImpl::latency_type_ = 25 AudioRendererImpl::LatencyType AudioRendererImpl::latency_type_ =
27 AudioRendererImpl::kUninitializedLatency; 26 AudioRendererImpl::kUninitializedLatency;
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 media::SetActualDataSizeInBytes(shared_memory_.get(), 502 media::SetActualDataSizeInBytes(shared_memory_.get(),
504 shared_memory_size_, 503 shared_memory_size_,
505 size); 504 size);
506 UpdateEarliestEndTime(size, request_delay, time_now); 505 UpdateEarliestEndTime(size, request_delay, time_now);
507 } 506 }
508 } 507 }
509 508
510 void AudioRendererImpl::Send(IPC::Message* message) { 509 void AudioRendererImpl::Send(IPC::Message* message) {
511 filter_->Send(message); 510 filter_->Send(message);
512 } 511 }
OLDNEW
« no previous file with comments | « content/renderer/load_progress_tracker.cc ('k') | content/renderer/media/media_stream_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698