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

Unified Diff: chromeos/audio/cras_audio_handler.cc

Issue 2634263002: Pass camera facing info to audio client (Closed)
Patch Set: Moved to chrome_browser_main_chromeos.cc Created 3 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
Index: chromeos/audio/cras_audio_handler.cc
diff --git a/chromeos/audio/cras_audio_handler.cc b/chromeos/audio/cras_audio_handler.cc
index a6cd9f0e30cfb0d1b64cde3c3ec24acd318642a2..444eab643cbb4ab81cc8aef0975e9c0b7199c49c 100644
--- a/chromeos/audio/cras_audio_handler.cc
+++ b/chromeos/audio/cras_audio_handler.cc
@@ -126,6 +126,14 @@ CrasAudioHandler* CrasAudioHandler::Get() {
return g_cras_audio_handler;
}
+void CrasAudioHandler::OnVideoCaptureStarted(media::VideoFacingMode facing) {
+ // TODO(jennyz): Switch active audio device according to video facing.
+}
+
+void CrasAudioHandler::OnVideoCaptureStopped(media::VideoFacingMode facing) {
+ // TODO(jennyz): Switch active audio device according to video facing.
+}
+
void CrasAudioHandler::AddAudioObserver(AudioObserver* observer) {
observers_.AddObserver(observer);
}
« no previous file with comments | « chromeos/audio/cras_audio_handler.h ('k') | content/browser/renderer_host/media/media_capture_devices_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698