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

Unified Diff: services/media/framework/graph.h

Issue 1692443002: Motown: Framework parts for mojo transport (producer/consumer/mediapipe) and control (audiotrack). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Added comments to AudioTrackController::SetRate regarding the proper way to implement it. Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/media/framework/engine.cc ('k') | services/media/framework/graph.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/media/framework/graph.h
diff --git a/services/media/framework/graph.h b/services/media/framework/graph.h
index de4e85e087a78b09afb037a854c77ad76240e6be..e17f52f12b328b08381344b0eb762b9daf3b52b8 100644
--- a/services/media/framework/graph.h
+++ b/services/media/framework/graph.h
@@ -187,6 +187,12 @@ class Graph {
// Primes all the sinks in the graph.
void PrimeSinks();
+ // Flushes the output and the subgraph downstream of it.
+ void FlushOutput(const OutputRef& output);
+
+ // Flushes the output and the subgraph downstream of it.
+ void FlushAllOutputs(PartRef part);
+
private:
// Adds a stage to the graph.
PartRef Add(Stage* stage);
« no previous file with comments | « services/media/framework/engine.cc ('k') | services/media/framework/graph.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698