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

Unified Diff: media/audio/pulse/pulse_util.h

Issue 2258143002: Add GetAssociatedOutputDeviceID support to pulse. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unneeded pulse signatures. Created 4 years, 4 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
Index: media/audio/pulse/pulse_util.h
diff --git a/media/audio/pulse/pulse_util.h b/media/audio/pulse/pulse_util.h
index b8e5cdcda4c606eaef98770e1507bbff99522855..7c744be6719a5bf46b3399cc1e746bb2e0711a67 100644
--- a/media/audio/pulse/pulse_util.h
+++ b/media/audio/pulse/pulse_util.h
@@ -75,6 +75,13 @@ bool CreateOutputStream(pa_threaded_mainloop** mainloop,
pa_stream_request_cb_t write_callback,
void* user_data);
+// Utility functions to match up outputs and inputs.
+std::string GetBusOfInput(const std::string& name,
+ pa_threaded_mainloop* input_mainloop,
+ pa_context* input_context);
+std::string GetOutputCorrespondingTo(const std::string& input_bus,
+ pa_threaded_mainloop* input_mainloop,
+ pa_context* input_context);
} // namespace pulse
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698