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

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

Issue 20410: Audio related IPC messages and handlers from browser to renderer (Closed)
Patch Set: cleanup Created 11 years, 10 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
« no previous file with comments | « chrome/renderer/media/audio_renderer_impl.h ('k') | chrome/renderer/render_view.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) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #include "chrome/renderer/media/audio_renderer_impl.h" 5 #include "chrome/renderer/media/audio_renderer_impl.h"
6 6
7 AudioRendererImpl::AudioRendererImpl(WebMediaPlayerDelegateImpl* delegate) 7 AudioRendererImpl::AudioRendererImpl(WebMediaPlayerDelegateImpl* delegate)
8 : delegate_(delegate) { 8 : delegate_(delegate) {
9 } 9 }
10 10
(...skipping 14 matching lines...) Expand all
25 void AudioRendererImpl::SetVolume(float volume) { 25 void AudioRendererImpl::SetVolume(float volume) {
26 // TODO(scherkus): implement SetVolume. 26 // TODO(scherkus): implement SetVolume.
27 NOTIMPLEMENTED(); 27 NOTIMPLEMENTED();
28 } 28 }
29 29
30 bool AudioRendererImpl::IsMediaFormatSupported( 30 bool AudioRendererImpl::IsMediaFormatSupported(
31 const media::MediaFormat* format) { 31 const media::MediaFormat* format) {
32 // TODO(hclam): check the format correct. 32 // TODO(hclam): check the format correct.
33 return true; 33 return true;
34 } 34 }
35
36 void AudioRendererImpl::OnRequestPacket() {
37 // TODO(hclam): implement this.
38 }
39
40 void AudioRendererImpl::OnCreated(base::SharedMemoryHandle handle,
41 size_t length) {
42 // TODO(hclam): implement this.
43 }
44
45 void AudioRendererImpl::OnStateChanged(AudioOutputStream::State state,
46 int info) {
47 // TODO(hclam): implement this.
48 }
49
50 void AudioRendererImpl::OnVolume(double left, double right) {
51 // TODO(hclam): implement this.
52 }
OLDNEW
« no previous file with comments | « chrome/renderer/media/audio_renderer_impl.h ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698