|
Remove AudioBuffersState class
The AudioBuffersState object doesn't appear to be necessary anymore.
Most code either completely ignores this information or doesn't actually
care about the difference between pending_bytes and hardware_delay_bytes.
Also usually only one of the 2 fields was actually being used at a time.
This change removes the class and simply uses an int that represent the
total number of delay bytes.
BUG= 125685
Committed: https://crrev.com/c0a9787ba21a78aff69d863fb545e85981ac4dc1
Cr-Commit-Position: refs/heads/master@{#297220}
Total comments: 2
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+100 lines, -193 lines) |
Patch |
 |
M |
components/copresence/mediums/audio/audio_player.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/copresence/mediums/audio/audio_player.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/copresence/mediums/audio/audio_player_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/media/capture/web_contents_audio_muter.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/audio_sync_reader.cc
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/common/media/audio_messages.h
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/audio/BUILD.gn
|
View
|
1
5
6
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/audio/alsa/alsa_output.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/audio/alsa/alsa_output.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/audio/alsa/alsa_output_unittest.cc
|
View
|
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
media/audio/android/audio_android_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/audio/android/opensles_output.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
D |
media/audio/audio_buffers_state.h
|
View
|
3
4
5
6
|
1 chunk |
+0 lines, -32 lines |
0 comments
|
Download
|
 |
D |
media/audio/audio_buffers_state.cc
|
View
|
3
4
5
6
|
1 chunk |
+0 lines, -20 lines |
0 comments
|
Download
|
 |
M |
media/audio/audio_device_thread.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+10 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/audio/audio_io.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
media/audio/audio_low_latency_input_output_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -11 lines |
0 comments
|
Download
|
 |
M |
media/audio/audio_output_controller.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/audio/audio_output_controller.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/audio/audio_output_controller_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/audio/audio_output_proxy_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
media/audio/audio_output_resampler.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/audio/audio_output_resampler.cc
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
media/audio/cras/cras_unified.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/audio/fake_audio_consumer_unittest.cc
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
media/audio/fake_audio_output_stream.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/audio/mac/audio_auhal_mac.cc
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/audio/mock_audio_source_callback.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/audio/pulse/pulse_output.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/audio/simple_sources.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/audio/simple_sources.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/audio/simple_sources_unittest.cc
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/audio/sounds/audio_stream_handler.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/audio/virtual_audio_input_stream_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/audio/virtual_audio_output_stream.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/audio/win/audio_low_latency_output_win.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
media/audio/win/audio_low_latency_output_win_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+6 lines, -15 lines |
0 comments
|
Download
|
 |
M |
media/audio/win/audio_output_win_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+17 lines, -32 lines |
0 comments
|
Download
|
 |
M |
media/audio/win/waveout_output_win.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/test/receiver.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/cast/test/utility/audio_utility.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/media.gyp
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
Total messages: 28 (4 generated)
|