|
|
Created:
4 years, 3 months ago by henrika_webrtc Modified:
4 years, 3 months ago Reviewers:
sophiechang-webrtc, tkchin_webrtc CC:
webrtc-reviews_webrtc.org Target Ref:
refs/pending/heads/master Project:
webrtc Visibility:
Public. |
DescriptionEnsures that ADM for Android and iOS uses identical states when stopping audio
BUG=b/25975010
TBR=tkchin
NOTRY=TRUE
Committed: https://crrev.com/17802ae258e4eecef0ae9825b7962c9bd179ea6c
Cr-Commit-Position: refs/heads/master@{#14328}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Changes based on tests py sophiechang@ #
Created: 4 years, 3 months ago
Messages
Total messages: 19 (7 generated)
Description was changed from ========== Ensures that ADM for Android and iOS uses identical states when stopping audio BUG= ========== to ========== Ensures that ADM for Android and iOS uses identical states when stopping audio BUG=b/25975010 ==========
henrika@webrtc.org changed reviewers: + sophiechang@chromium.org, tkchin@webrtc.org
Following the example on Android also for iOS to ensure that we stop media using identical members/states to avoid any issues or differences.
Please press the button if/when OK. Thanks.
Please press the button if/when OK. Thanks.
Sophie: feel free to propose changes in this CL. Thanks.
https://codereview.webrtc.org/2349263004/diff/1/webrtc/modules/audio_device/i... File webrtc/modules/audio_device/ios/audio_device_ios.mm (right): https://codereview.webrtc.org/2349263004/diff/1/webrtc/modules/audio_device/i... webrtc/modules/audio_device/ios/audio_device_ios.mm:220: if (!play_is_initialized_ || !playing_) { as mentioned offline, i think it would be good to merge the rec_is_initialized_ and play_is_initialized_ to some sort of audio_is_initialized_ variable since they both just control the audio unit. and also only set audio_is_initialized_ to false when you call ShutdownPlayOrRecord so stick it into that if block in line 223 and the same thing around StopRecording.
Thanks for testing and the feedback. Let me run some tests first but it does sound like a really good idea given the common usage of the audio unit on iOS.
PTAL Sophie
lgtm looks good. thanks!
Description was changed from ========== Ensures that ADM for Android and iOS uses identical states when stopping audio BUG=b/25975010 ========== to ========== Ensures that ADM for Android and iOS uses identical states when stopping audio BUG=b/25975010 TBR=tkchin ==========
Description was changed from ========== Ensures that ADM for Android and iOS uses identical states when stopping audio BUG=b/25975010 TBR=tkchin ========== to ========== Ensures that ADM for Android and iOS uses identical states when stopping audio BUG=b/25975010 TBR=tkchin NOTRY=TRUE ==========
The CQ bit was checked by henrika@webrtc.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
Message was sent while issue was closed.
Description was changed from ========== Ensures that ADM for Android and iOS uses identical states when stopping audio BUG=b/25975010 TBR=tkchin NOTRY=TRUE ========== to ========== Ensures that ADM for Android and iOS uses identical states when stopping audio BUG=b/25975010 TBR=tkchin NOTRY=TRUE ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Description was changed from ========== Ensures that ADM for Android and iOS uses identical states when stopping audio BUG=b/25975010 TBR=tkchin NOTRY=TRUE ========== to ========== Ensures that ADM for Android and iOS uses identical states when stopping audio BUG=b/25975010 TBR=tkchin NOTRY=TRUE Committed: https://crrev.com/17802ae258e4eecef0ae9825b7962c9bd179ea6c Cr-Commit-Position: refs/heads/master@{#14328} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/17802ae258e4eecef0ae9825b7962c9bd179ea6c Cr-Commit-Position: refs/heads/master@{#14328}
Message was sent while issue was closed.
lgtm |