|
Moved the fake input stream's processing onto the audio worker thread.
The reason for this is that the fake input stream would not work on Mac
where the audio non-worker code runs on the UI thread. Therefore, the
fake input stream would get starved for instance in the WebRTC audio
quality tests and not play any audio (those tests block the UI thread
while recording).
This patch introduces a worker precisely like the fake audio consumer
used by the fake output stream.
BUG= 453907, 446859
Committed: https://crrev.com/9e0a7c10163c9c22adad3135a1d9fc5c3682a592
Cr-Commit-Position: refs/heads/master@{#317557}
Total comments: 1
Total comments: 4
Total comments: 16
Total comments: 49
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+484 lines, -798 lines) |
Patch |
 |
M |
content/browser/media/capture/web_contents_audio_muter.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+11 lines, -8 lines |
0 comments
|
Download
|
 |
M |
media/audio/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/audio/audio_io.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
D |
media/audio/fake_audio_consumer.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -55 lines |
0 comments
|
Download
|
 |
D |
media/audio/fake_audio_consumer.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -163 lines |
0 comments
|
Download
|
 |
M |
media/audio/fake_audio_consumer_unittest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -142 lines |
0 comments
|
Download
|
 |
M |
media/audio/fake_audio_input_stream.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
3 chunks |
+21 lines, -45 lines |
0 comments
|
Download
|
 |
M |
media/audio/fake_audio_input_stream.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
3 chunks |
+45 lines, -250 lines |
0 comments
|
Download
|
 |
M |
media/audio/fake_audio_output_stream.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/audio/fake_audio_output_stream.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
A + |
media/audio/fake_audio_worker.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+16 lines, -17 lines |
0 comments
|
Download
|
 |
A + |
media/audio/fake_audio_worker.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+39 lines, -44 lines |
0 comments
|
Download
|
 |
A + |
media/audio/fake_audio_worker_unittest.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+34 lines, -35 lines |
0 comments
|
Download
|
 |
M |
media/audio/null_audio_sink.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/audio/null_audio_sink.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
 |
M |
media/audio/simple_sources.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
3 chunks |
+53 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/audio/simple_sources.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
3 chunks |
+220 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/audio/virtual_audio_input_stream.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/audio/virtual_audio_input_stream.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
media/media.gyp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
Total messages: 20 (3 generated)
|