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

Unified Diff: media/base/mock_filters.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 | « media/base/filters.h ('k') | media/filters/audio_renderer_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/mock_filters.h
diff --git a/media/base/mock_filters.h b/media/base/mock_filters.h
index e2151860c89851c81f8618c2fcf60dd62b0a11d4..8abcbd33b43977c9d9676004b01a3faeedab8edd 100644
--- a/media/base/mock_filters.h
+++ b/media/base/mock_filters.h
@@ -212,8 +212,10 @@ class MockAudioDecoder : public AudioDecoder {
MOCK_METHOD3(Initialize, void(DemuxerStream* stream,
FilterCallback* callback,
StatisticsCallback* stats_callback));
- MOCK_METHOD0(config, AudioDecoderConfig());
MOCK_METHOD1(ProduceAudioSamples, void(scoped_refptr<Buffer>));
+ MOCK_METHOD0(bits_per_channel, int(void));
+ MOCK_METHOD0(channel_layout, ChannelLayout(void));
+ MOCK_METHOD0(sample_rate, int(void));
void ConsumeAudioSamplesForTest(scoped_refptr<Buffer> buffer) {
AudioDecoder::ConsumeAudioSamples(buffer);
« no previous file with comments | « media/base/filters.h ('k') | media/filters/audio_renderer_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698