Add UMA stats for AudioManagerWin::GetPreferredOutputStreamParameters
* Add uma logging callback to CreateDeviceEnumeratorInternal, CreateDeviceInternal and CreateClientInternal * Add 5 new histograms to track HRESULT of the steps in which GetPreferredOutputStreamParameters can potentially fail: creating device enumerator, creating device, creating client, getting shared-mode mix format and getting device period * Keep public only one version of each of the 3 CreateDevice, 3 CreateClient and 2 GetPreferredAudioParameters functions and move the behavior of removed public functions to internal functions * Refactor CreateDevice and CreateClient * Remove IsDefaultDevice that duplicates AudioDeviceDescription::IsDeviceDefault behavior * Remove unused functions DeviceIsDefault Bug: 774998 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: I8688f38a6b7bc8b093a95ba3ccf83f5b7eafaced Reviewed-on: https://chromium-review.googlesource.com/750807 Commit-Queue: Marina Ciocea <marinaciocea@chromium.org> Reviewed-by:Ilya Sherman <isherman@chromium.org> Reviewed-by:
Olga Sharonova <olka@chromium.org> Reviewed-by:
Max Morin <maxmorin@chromium.org> Cr-Commit-Position: refs/heads/master@{#517063}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment