|
Pass ownership of external encoders to the ACM
We want this because otherwise the ACM uses its mutex to protect an
encoder that's owned by someone else. That someone else may easily
slip up and delete or otherwise touch the encoder before making sure
that the ACM has stopped using it, bypassing the lock.
BUG= webrtc:5028
Committed: https://crrev.com/6030a129c03fdeb0f47e59ca72f14df856ba7ff9
Cr-Commit-Position: refs/heads/master@{#11909}
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Stats (+403 lines, -244 lines) |
 |
M |
webrtc/modules/audio_coding/acm2/audio_coding_module_impl.h
|
View
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
 |
M |
webrtc/modules/audio_coding/acm2/audio_coding_module_impl.cc
|
View
|
8 chunks |
+96 lines, -11 lines |
0 comments
|
 |
M |
webrtc/modules/audio_coding/acm2/audio_coding_module_unittest_oldapi.cc
|
View
|
1 chunk |
+1 line, -0 lines |
0 comments
|
 |
M |
webrtc/modules/audio_coding/acm2/codec_manager.h
|
View
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
 |
M |
webrtc/modules/audio_coding/acm2/codec_manager.cc
|
View
|
1 chunk |
+1 line, -1 line |
0 comments
|
 |
M |
webrtc/modules/audio_coding/acm2/codec_manager_unittest.cc
|
View
|
1 chunk |
+10 lines, -14 lines |
0 comments
|
 |
M |
webrtc/modules/audio_coding/acm2/rent_a_codec.h
|
View
|
2 chunks |
+7 lines, -8 lines |
2 comments
|
 |
M |
webrtc/modules/audio_coding/acm2/rent_a_codec.cc
|
View
|
5 chunks |
+22 lines, -27 lines |
0 comments
|
 |
M |
webrtc/modules/audio_coding/acm2/rent_a_codec_unittest.cc
|
View
|
3 chunks |
+57 lines, -47 lines |
0 comments
|
 |
M |
webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.h
|
View
|
3 chunks |
+6 lines, -4 lines |
0 comments
|
 |
M |
webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.cc
|
View
|
3 chunks |
+19 lines, -3 lines |
0 comments
|
 |
M |
webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng_unittest.cc
|
View
|
17 chunks |
+133 lines, -91 lines |
0 comments
|
 |
M |
webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red.h
|
View
|
3 chunks |
+7 lines, -5 lines |
0 comments
|
 |
M |
webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red.cc
|
View
|
1 chunk |
+13 lines, -2 lines |
0 comments
|
 |
M |
webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red_unittest.cc
|
View
|
12 chunks |
+25 lines, -26 lines |
0 comments
|
Total messages: 21 (15 generated)
|