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

Unified Diff: media/filters/null_audio_renderer.cc

Issue 42635: Lots of files touched for a very simple change. Everywhere we used a const M... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 9 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 | « media/filters/null_audio_renderer.h ('k') | media/filters/test_video_decoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/null_audio_renderer.cc
===================================================================
--- media/filters/null_audio_renderer.cc (revision 12568)
+++ media/filters/null_audio_renderer.cc (working copy)
@@ -29,7 +29,7 @@
// static
bool NullAudioRenderer::IsMediaFormatSupported(
- const MediaFormat* media_format) {
+ const MediaFormat& media_format) {
int channels;
int sample_rate;
int sample_bits;
@@ -63,7 +63,7 @@
}
}
-bool NullAudioRenderer::OnInitialize(const MediaFormat* media_format) {
+bool NullAudioRenderer::OnInitialize(const MediaFormat& media_format) {
// Parse out audio parameters.
int channels;
int sample_rate;
« no previous file with comments | « media/filters/null_audio_renderer.h ('k') | media/filters/test_video_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698