|
Add thread safety to AudioManagerBase to protect access to the audio thread member variable.
This is is a tentative fix for an issue where the AudioManager can crash while tearing down
the audio thread. I suspect that this happens because more than one cleanup attempts were
made since the class wasn't thread safe. I'm also changing direct access to the thread's
MessageLoop* to use MessageLoopProxy based on the same theory.
BUG= 110051
TEST=Run media tests.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=118272
Total comments: 2
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+117 lines, -95 lines) |
Patch |
|
M |
content/test/webrtc_audio_device_test.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/test/webrtc_audio_device_test.cc
|
View
|
1
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_low_latency_input_output_unittest.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_manager.h
|
View
|
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
media/audio/audio_manager_base.h
|
View
|
|
3 chunks |
+11 lines, -5 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_manager_base.cc
|
View
|
|
4 chunks |
+41 lines, -20 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_output_controller.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
media/audio/audio_output_controller.cc
|
View
|
|
11 chunks |
+15 lines, -14 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_output_dispatcher.h
|
View
|
1
2
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_output_dispatcher.cc
|
View
|
1
2
|
3 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_output_proxy.h
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
media/audio/audio_output_proxy.cc
|
View
|
1
2
|
5 chunks |
+7 lines, -8 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_output_proxy_unittest.cc
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
media/audio/linux/alsa_output.cc
|
View
|
1
2
3
|
13 chunks |
+15 lines, -15 lines |
0 comments
|
Download
|
|
M |
media/audio/linux/alsa_output_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
media/audio/linux/audio_manager_linux.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -13 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|