Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1617)

Issue 2324113002: Avoids crash at device switch on iOS (Closed)

Created:
4 years, 3 months ago by henrika_webrtc
Modified:
4 years, 3 months ago
CC:
webrtc-reviews_webrtc.org
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Avoids crash at device switch on iOS by ensuring that audio parameters can be updated on the fly driven by e.g. switching audio device. R=henrikg@webrtc.org Committed: https://crrev.com/073378e79a8b0c2dc0c257169a0e126d77a28c8f Cr-Commit-Position: refs/heads/master@{#14158}

Patch Set 1 #

Total comments: 2

Patch Set 2 : nit #

Patch Set 3 : Feedback from grunell@ #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -33 lines) Patch
M webrtc/modules/audio_device/audio_device_buffer.h View 2 chunks +11 lines, -8 lines 0 comments Download
M webrtc/modules/audio_device/audio_device_buffer.cc View 1 2 5 chunks +12 lines, -25 lines 1 comment Download

Messages

Total messages: 14 (7 generated)
Henrik Grunell WebRTC
lgtm https://codereview.webrtc.org/2324113002/diff/1/webrtc/modules/audio_device/audio_device_buffer.cc File webrtc/modules/audio_device/audio_device_buffer.cc (right): https://codereview.webrtc.org/2324113002/diff/1/webrtc/modules/audio_device/audio_device_buffer.cc#newcode125 webrtc/modules/audio_device/audio_device_buffer.cc:125: rec_sample_rate_ = fsHz; Nit: Would be nice with ...
4 years, 3 months ago (2016-09-09 10:03:30 UTC) #4
henrika_webrtc
Thanks. Fixed.
4 years, 3 months ago (2016-09-09 10:06:36 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2324113002/40001
4 years, 3 months ago (2016-09-09 10:07:57 UTC) #8
Henrik Grunell WebRTC
https://codereview.webrtc.org/2324113002/diff/40001/webrtc/modules/audio_device/audio_device_buffer.cc File webrtc/modules/audio_device/audio_device_buffer.cc (right): https://codereview.webrtc.org/2324113002/diff/40001/webrtc/modules/audio_device/audio_device_buffer.cc#newcode356 webrtc/modules/audio_device/audio_device_buffer.cc:356: RTC_DCHECK_LE(play_bytes_per_10ms_, kMaxBufferSizeBytes); Nit: I think it should even be ...
4 years, 3 months ago (2016-09-09 10:19:30 UTC) #9
henrika_webrtc
Thanks. Would like to avoid making that small change now when we are in CQ. ...
4 years, 3 months ago (2016-09-09 10:43:03 UTC) #10
henrika_webrtc
Seems like some bots are delayed. Landing manually.
4 years, 3 months ago (2016-09-09 11:15:24 UTC) #11
henrika_webrtc
4 years, 3 months ago (2016-09-09 11:15:53 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
073378e79a8b0c2dc0c257169a0e126d77a28c8f (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698