|
Change audio render thread checking to use new AudioRendererSink::BelongsToRendererThread().
This is required for making AudioOutputDevice restartable. We'll then spin up a new thread each Start(), and we need to deal with thread checks differently in the WebRTC audio rendering path.
This change introduces AudioRendererSink::BelongsToRendererThread(). Also MediaStreamAudioProcessor::OnRenderThreadChanged() to notify that the render thread has changed.
BUG= 607916
Committed: https://crrev.com/2c754510b660c9c13e754e8e01599977e5c41aad
Cr-Commit-Position: refs/heads/master@{#400429}
Total comments: 7
Total comments: 8
Total comments: 34
Total comments: 6
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+127 lines, -23 lines) |
Patch |
|
M |
content/renderer/media/media_stream_audio_processor.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/media_stream_audio_processor.cc
|
View
|
1
|
3 chunks |
+17 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/webrtc_audio_device_impl.h
|
View
|
1
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/media/webrtc_audio_device_impl.cc
|
View
|
1
2
3
|
2 chunks |
+8 lines, -1 line |
2 comments
|
Download
|
|
M |
content/renderer/media/webrtc_audio_renderer.h
|
View
|
1
2
3
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/media/webrtc_audio_renderer.cc
|
View
|
1
2
3
|
6 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_device_thread.h
|
View
|
1
2
3
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_device_thread.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_output_device.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_output_device.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_output_stream_sink.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_output_stream_sink.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
media/audio/clockless_audio_sink.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
media/audio/clockless_audio_sink.cc
|
View
|
1
2
3
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
media/audio/null_audio_sink.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
media/audio/null_audio_sink.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
media/base/audio_renderer_mixer_input.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
media/base/audio_renderer_mixer_input.cc
|
View
|
1
2
3
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
media/base/audio_renderer_sink.h
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -0 lines |
2 comments
|
Download
|
|
M |
media/base/fake_audio_renderer_sink.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
media/base/fake_audio_renderer_sink.cc
|
View
|
1
2
3
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
media/base/mock_audio_renderer_sink.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
media/blink/webaudiosourceprovider_impl.h
|
View
|
1
2
3
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
media/blink/webaudiosourceprovider_impl.cc
|
View
|
1
2
3
|
3 chunks |
+18 lines, -13 lines |
0 comments
|
Download
|
Total messages: 53 (19 generated)
|