• Guido Urdaneta's avatar
    Update support for default/communications devices in AudioManager · bd7ce60f
    Guido Urdaneta authored
    This CL introduces functions to get the ID name of the following
    special devices in AudioManager.
    - Default audio input device
    - Communications audio input device
    - Communications audio output device
    
    There was already a similar function for the default audio output device.
    
    In enumeration results, the label of special device entries now have
    appended the label of the corresponding real device.
    
    This CL also adds implementation of the new functionality for Mac,
    and reverts the effects of http://crrev.com/520087, which implemented
    similar but more limited functionality.
    
    Bug: 780492
    Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
    Change-Id: Iee5afc2fc231913baddaf6ef3fedd4535b3d9841
    Reviewed-on: https://chromium-review.googlesource.com/803814Reviewed-by: default avatarOlga Sharonova <olka@chromium.org>
    Commit-Queue: Guido Urdaneta <guidou@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#521682}
    bd7ce60f
mock_audio_manager.cc 5.17 KB