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

Unified Diff: media/device_monitors/device_monitor_mac.mm

Issue 2326623003: Make SystemMonitor report all audio device changes instead of just audio capture. (Closed)
Patch Set: Created 4 years, 3 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 | « media/audio/win/audio_device_listener_win.cc ('k') | media/device_monitors/device_monitor_udev.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/device_monitors/device_monitor_mac.mm
diff --git a/media/device_monitors/device_monitor_mac.mm b/media/device_monitors/device_monitor_mac.mm
index 7f27bc7cfae034e7453c9285553d595b2b99367a..1141fcc17c68b8c77fba73d6e274efd652d2149e 100644
--- a/media/device_monitors/device_monitor_mac.mm
+++ b/media/device_monitors/device_monitor_mac.mm
@@ -121,7 +121,7 @@ void DeviceMonitorMacImpl::ConsolidateDevicesListAndNotify(
if (video_device_added || video_device_removed)
monitor_->NotifyDeviceChanged(base::SystemMonitor::DEVTYPE_VIDEO_CAPTURE);
if (audio_device_added || audio_device_removed)
- monitor_->NotifyDeviceChanged(base::SystemMonitor::DEVTYPE_AUDIO_CAPTURE);
+ monitor_->NotifyDeviceChanged(base::SystemMonitor::DEVTYPE_AUDIO);
}
// Forward declaration for use by CrAVFoundationDeviceObserver.
« no previous file with comments | « media/audio/win/audio_device_listener_win.cc ('k') | media/device_monitors/device_monitor_udev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698