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

Issue 2538793002: Log audio system used to WebRTC log. (Closed)

Created:
4 years ago by Henrik Grunell
Modified:
4 years ago
Reviewers:
DaleCurtis, alokp
CC:
chromium-reviews, feature-media-reviews_chromium.org, mcasas+watch+vc_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Log audio system used to WebRTC log. This is interesting on for example Linux, where we fallback on ALSA if PulseAudio fails to initialize. * Add AudioManager::GetName() and implementations in sub-classes. * Log it to WebRTC log in WebRtcTextLogHandler::LogInitialInfoOnIOThread(). BUG=669510 CQ_INCLUDE_TRYBOTS=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 Committed: https://crrev.com/12d3f1b37dbe91316f5c3ce2bfc006204458fe8d Cr-Commit-Position: refs/heads/master@{#435923}

Patch Set 1 #

Patch Set 2 : Fix fake and mock managers. #

Patch Set 3 : Code review. #

Total comments: 2

Patch Set 4 : Code review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -0 lines) Patch
M chrome/browser/media/webrtc/webrtc_text_log_handler.cc View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M chromecast/media/audio/cast_audio_manager.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chromecast/media/audio/cast_audio_manager.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M media/audio/alsa/audio_manager_alsa.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M media/audio/alsa/audio_manager_alsa.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M media/audio/android/audio_manager_android.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M media/audio/android/audio_manager_android.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M media/audio/audio_manager.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M media/audio/audio_output_proxy_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M media/audio/cras/audio_manager_cras.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M media/audio/cras/audio_manager_cras.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M media/audio/fake_audio_manager.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M media/audio/fake_audio_manager.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M media/audio/mac/audio_manager_mac.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M media/audio/mac/audio_manager_mac.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M media/audio/mock_audio_manager.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M media/audio/mock_audio_manager.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M media/audio/pulse/audio_manager_pulse.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M media/audio/pulse/audio_manager_pulse.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M media/audio/win/audio_manager_win.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M media/audio/win/audio_manager_win.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (23 generated)
Henrik Grunell
4 years ago (2016-11-30 09:32:45 UTC) #5
DaleCurtis
Maybe just have an AudioManager::GetName() method for all implementations? That allows us to avoid any ...
4 years ago (2016-11-30 22:12:12 UTC) #14
Henrik Grunell
Yes, I considered implementing it for all platforms but leaned towards Linux only where it ...
4 years ago (2016-12-01 15:47:24 UTC) #17
alokp
chromecast/ lgtm
4 years ago (2016-12-01 17:32:46 UTC) #22
DaleCurtis
lgtm % inlining the constant; have two places to look for something like this is ...
4 years ago (2016-12-01 17:49:38 UTC) #23
Henrik Grunell
https://codereview.chromium.org/2538793002/diff/60001/chromecast/media/audio/cast_audio_manager.cc File chromecast/media/audio/cast_audio_manager.cc (right): https://codereview.chromium.org/2538793002/diff/60001/chromecast/media/audio/cast_audio_manager.cc#newcode26 chromecast/media/audio/cast_audio_manager.cc:26: const char kAudioManagerName[] = "Cast"; On 2016/12/01 17:49:38, DaleCurtis ...
4 years ago (2016-12-02 08:40:27 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2538793002/80001
4 years ago (2016-12-02 08:41:07 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years ago (2016-12-02 12:28:43 UTC) #30
commit-bot: I haz the power
4 years ago (2016-12-02 12:31:43 UTC) #32
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/12d3f1b37dbe91316f5c3ce2bfc006204458fe8d
Cr-Commit-Position: refs/heads/master@{#435923}

Powered by Google App Engine
This is Rietveld 408576698