|
Refactor AudioParameters member setting.
Permit AudioParameters members to be set individually. Allows us to:
- Cut back to the one non-default constructor which is frequently used.
- Remove a bunch of boilerplate in the common case of updating one
member.
- Make adding future optional members (e.g. mic_positions)
transparent to most callers.
Maintain the Reset method but remove the channels parameter to have it
mirror the constructor.
Make it clear that channels_ is only required to be set explicitly with
CHANNEL_LAYOUT_DISCRETE.
BUG= 497001
Committed: https://crrev.com/2e2f1c71bec505f3ae9d718dd8e875fedd4962e7
Cr-Commit-Position: refs/heads/master@{#347781}
Total comments: 11
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+211 lines, -313 lines) |
Patch |
 |
M |
chrome/browser/copresence/chrome_whispernet_client_browsertest.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/media/webrtc_browsertest_audio.cc
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chromecast/renderer/media/chromecast_media_renderer_factory.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/audio_modem/audio_recorder_impl.cc
|
View
|
|
1 chunk |
+1 line, -6 lines |
0 comments
|
Download
|
 |
M |
content/browser/media/media_internals_unittest.cc
|
View
|
|
2 chunks |
+15 lines, -12 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/audio_input_renderer_host.cc
|
View
|
|
1 chunk |
+3 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/audio_renderer_host_unittest.cc
|
View
|
|
1 chunk |
+5 lines, -15 lines |
0 comments
|
Download
|
 |
M |
content/browser/speech/speech_recognizer_impl.cc
|
View
|
1
2
3
|
3 chunks |
+3 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/common/media/media_param_traits.cc
|
View
|
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/audio_renderer_mixer_manager_unittest.cc
|
View
|
|
2 chunks |
+4 lines, -10 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/speech_recognition_audio_sink_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/webaudio_capturer_source.cc
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/webrtc_audio_capturer.cc
|
View
|
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/webrtc_audio_renderer.cc
|
View
|
|
2 chunks |
+6 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/webrtc_local_audio_renderer.cc
|
View
|
|
1 chunk |
+3 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/webrtc_local_audio_source_provider.cc
|
View
|
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/webrtc_local_audio_source_provider_unittest.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/webrtc_local_audio_track_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_platform_audio_input.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/renderer_blink_platform_impl.cc
|
View
|
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
media/audio/alsa/audio_manager_alsa.cc
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/audio/android/audio_android_unittest.cc
|
View
|
1
2
3
|
3 chunks |
+7 lines, -23 lines |
0 comments
|
Download
|
 |
M |
media/audio/android/audio_manager_android.cc
|
View
|
1
|
2 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
media/audio/audio_manager_base.cc
|
View
|
|
1 chunk |
+3 lines, -9 lines |
0 comments
|
Download
|
 |
M |
media/audio/audio_output_device_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/audio/audio_output_resampler.cc
|
View
|
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/audio/audio_parameters.h
|
View
|
1
2
3
|
2 chunks |
+39 lines, -17 lines |
2 comments
|
Download
|
 |
M |
media/audio/audio_parameters.cc
|
View
|
|
2 chunks |
+20 lines, -53 lines |
0 comments
|
Download
|
 |
M |
media/audio/audio_parameters_unittest.cc
|
View
|
|
1 chunk |
+3 lines, -12 lines |
0 comments
|
Download
|
 |
M |
media/audio/cras/audio_manager_cras.cc
|
View
|
1
|
2 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
media/audio/fake_audio_manager.cc
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/audio/mac/audio_manager_mac.cc
|
View
|
1
2
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/audio/pulse/audio_manager_pulse.cc
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/audio/win/audio_low_latency_input_win_unittest.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/audio/win/audio_manager_win.cc
|
View
|
1
|
2 chunks |
+9 lines, -11 lines |
0 comments
|
Download
|
 |
M |
media/audio/win/core_audio_util_win.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/base/audio_buffer_converter.cc
|
View
|
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/base/audio_buffer_converter_unittest.cc
|
View
|
|
1 chunk |
+4 lines, -7 lines |
0 comments
|
Download
|
 |
M |
media/base/audio_converter_unittest.cc
|
View
|
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
media/base/channel_mixer_unittest.cc
|
View
|
|
1 chunk |
+8 lines, -15 lines |
0 comments
|
Download
|
 |
M |
media/cast/test/fake_media_source.cc
|
View
|
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/renderers/audio_renderer_impl.cc
|
View
|
|
2 chunks |
+4 lines, -10 lines |
0 comments
|
Download
|
Total messages: 38 (15 generated)
|