mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-15 06:40:43 +01:00
![]() ADM2 for Windows is based on the CoreAudioUtil class in Chrome. CoreAudioUtil in Chrome does not use a special string to identify the Default Communication device but instead a combination of a string (Default) and a role parameter [1]. When CoreAudioUtil was ported to WebRTC, I accidentally added an invalid usage of a unique string to identify the default comm device and it can lead to errors since there are then two different ways to identify this device. It will also complicate life when we want to merge changes from Chrome into WebRTC. This CL removes usage of AudioDeviceName::kDefaultCommunicationsDeviceId in WebRTC to reduce the risk of errors. [1] https://cs.chromium.org/chromium/src/media/audio/win/core_audio_util_win.cc?q=core_audio_ut&sq=package:chromium&g=0&l=464 Excluding flaky bot win_x86_msvc_dbg and using Tbr. Tbr: thaloun@chromium.org No-Try: True Bug: webrtc:11107 Change-Id: Ie6687adbe9c3940a217456e4025967f71d86214c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/160047 Commit-Queue: Henrik Andreassson <henrika@webrtc.org> Reviewed-by: Henrik Andreassson <henrika@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29848} |
||
---|---|---|
.. | ||
android | ||
dummy | ||
include | ||
linux | ||
mac | ||
win | ||
audio_device_buffer.cc | ||
audio_device_buffer.h | ||
audio_device_config.h | ||
audio_device_data_observer.cc | ||
audio_device_generic.cc | ||
audio_device_generic.h | ||
audio_device_impl.cc | ||
audio_device_impl.h | ||
audio_device_name.cc | ||
audio_device_name.h | ||
audio_device_unittest.cc | ||
BUILD.gn | ||
DEPS | ||
fine_audio_buffer.cc | ||
fine_audio_buffer.h | ||
fine_audio_buffer_unittest.cc | ||
mock_audio_device_buffer.h | ||
OWNERS |