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

Unified Diff: examples/audio_play_test/play_tone.cc

Issue 2097953002: Motown: Rename MediaProducer/Consumer to MediaPacketProducer/Consumer (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fixed #ifndef guards Created 4 years, 6 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 | examples/audio_play_test/play_wav.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/audio_play_test/play_tone.cc
diff --git a/examples/audio_play_test/play_tone.cc b/examples/audio_play_test/play_tone.cc
index 6db542e754aaf7a83baf41633be9a39311a324c8..9b4f1c53192e066ea326ce75f06765ba04e13d3e 100644
--- a/examples/audio_play_test/play_tone.cc
+++ b/examples/audio_play_test/play_tone.cc
@@ -141,8 +141,8 @@ void PlayToneApp::OnInitialize() {
media_type->encoding = MediaType::kAudioEncodingLpcm;
media_renderer_->SetMediaType(media_type.Pass());
- MediaConsumerPtr pipe;
- media_renderer_->GetConsumer(GetProxy(&pipe));
+ MediaPacketConsumerPtr pipe;
+ media_renderer_->GetPacketConsumer(GetProxy(&pipe));
// Now that the configuration request is in-flight and we our media pipe
// proxy, pass its interface to our circular buffer helper, set up our
« no previous file with comments | « no previous file | examples/audio_play_test/play_wav.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698