|
[chromecast] Moves CastAudioOutputStream::Backend to CMA thread.
crrev.com/2cbd4fcab300af5aa4ef76752673901d58da0f24 moved
CastAudioOutputStream along with CastAudioOutputStream::Backend to
AudioThread, which is wrong. The backend need to run on CMA thread.
In addition to fixing the threading model, this patch:
- Lets AudioManager use MediaPipelineBackendFactory instead of BackendManager
- Updates tests to use the threading model used in production
- Adds another basic CastAudioManager test that creates AudioOutputStreamProxy, which is used in production.
Review-Url: https://codereview.chromium.org/2879703003
Cr-Commit-Position: refs/heads/master@{#475726}
Committed: https://chromium.googlesource.com/chromium/src/+/2341e24bf7f4b05f38a2c59354163984d076e25b
Total comments: 19
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+620 lines, -602 lines) |
Patch |
 |
M |
chromecast/browser/cast_content_browser_client.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+9 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chromecast/media/BUILD.gn
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chromecast/media/audio/cast_audio_manager.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+21 lines, -20 lines |
0 comments
|
Download
|
 |
M |
chromecast/media/audio/cast_audio_manager.cc
|
View
|
1
2
3
4
|
5 chunks |
+13 lines, -24 lines |
0 comments
|
Download
|
 |
A |
chromecast/media/audio/cast_audio_manager_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+78 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chromecast/media/audio/cast_audio_mixer.h
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+10 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chromecast/media/audio/cast_audio_mixer.cc
|
View
|
1
2
3
4
5
6
7
8
|
10 chunks |
+77 lines, -65 lines |
0 comments
|
Download
|
 |
M |
chromecast/media/audio/cast_audio_mixer_unittest.cc
|
View
|
1
2
3
4
5
6
|
12 chunks |
+39 lines, -105 lines |
0 comments
|
Download
|
 |
M |
chromecast/media/audio/cast_audio_output_stream.h
|
View
|
1
2
3
|
2 chunks |
+2 lines, -17 lines |
0 comments
|
Download
|
 |
M |
chromecast/media/audio/cast_audio_output_stream.cc
|
View
|
1
2
3
4
5
6
7
8
|
8 chunks |
+188 lines, -167 lines |
0 comments
|
Download
|
 |
M |
chromecast/media/audio/cast_audio_output_stream_unittest.cc
|
View
|
1
2
3
4
5
6
|
20 chunks |
+87 lines, -96 lines |
0 comments
|
Download
|
 |
M |
chromecast/media/cma/BUILD.gn
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+30 lines, -21 lines |
0 comments
|
Download
|
 |
M |
chromecast/media/cma/backend/BUILD.gn
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chromecast/media/cma/backend/media_pipeline_backend_factory.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+5 lines, -23 lines |
0 comments
|
Download
|
 |
D |
chromecast/media/cma/backend/media_pipeline_backend_factory.cc
|
View
|
|
1 chunk |
+0 lines, -29 lines |
0 comments
|
Download
|
 |
A + |
chromecast/media/cma/backend/media_pipeline_backend_factory_impl.h
|
View
|
|
3 chunks |
+10 lines, -12 lines |
0 comments
|
Download
|
 |
A + |
chromecast/media/cma/backend/media_pipeline_backend_factory_impl.cc
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
A |
chromecast/media/cma/test/mock_media_pipeline_backend_factory.h
|
View
|
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chromecast/media/cma/test/mock_media_pipeline_backend_factory.cc
|
View
|
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
Total messages: 29 (23 generated)
|