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

Unified Diff: content/renderer/media/audio_renderer_impl.h

Issue 7796033: Replace AudioDecoderConfig with simple accessors on AudioDecoder. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: rebase Created 9 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/renderer/media/audio_renderer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/audio_renderer_impl.h
diff --git a/content/renderer/media/audio_renderer_impl.h b/content/renderer/media/audio_renderer_impl.h
index 65e2e73a76d94c464d05c21f0c64ed4610a9482b..27b58fb8785ef8ae2976dce8729c7f3f1686ec2f 100644
--- a/content/renderer/media/audio_renderer_impl.h
+++ b/content/renderer/media/audio_renderer_impl.h
@@ -85,7 +85,9 @@ class AudioRendererImpl
protected:
// Methods called on audio renderer thread ----------------------------------
// These methods are called from AudioRendererBase.
- virtual bool OnInitialize(const media::AudioDecoderConfig& config);
+ virtual bool OnInitialize(int bits_per_channel,
+ ChannelLayout channel_layout,
+ int sample_rate);
virtual void OnStop();
// Called when the decoder completes a Read().
« no previous file with comments | « no previous file | content/renderer/media/audio_renderer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698