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

Unified Diff: media/audio/audio_manager_base.h

Issue 1769933002: Looking up device id by session id for AudioRendererMixerInput (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: media/audio/audio_manager_base.h
diff --git a/media/audio/audio_manager_base.h b/media/audio/audio_manager_base.h
index bcb6fe390115259d38c992c636466974d3fe7e84..ffe67720c30d3e78433bb6cc6f2fc044ca56f930 100644
--- a/media/audio/audio_manager_base.h
+++ b/media/audio/audio_manager_base.h
@@ -49,6 +49,9 @@ class MEDIA_EXPORT AudioManagerBase : public AudioManager {
// stream, otherwise stream initialization may fail.
static const char kLoopbackInputDeviceId[];
+ // Returns true if |device_id| corresponds to the default device.
+ static bool IsDefaultDeviceId(const std::string& device_id);
+
~AudioManagerBase() override;
// AudioManager:

Powered by Google App Engine
This is Rietveld 408576698