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

Issue 11086009: Prevent AudioLowLatencyInputMac from changing frame sizes. (Closed)

Created:
8 years, 2 months ago by DaleCurtis
Modified:
8 years, 2 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, henrika (OOO until Aug 14)
Visibility:
Public.

Description

Prevent AudioLowLatencyInputMac from changing frame sizes. Otherwise we'll hit a CHECK() later since the shared memory isn't configured for the new frame size. BUG=154352 TEST=mac build no longer crashes. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=160759

Patch Set 1 #

Total comments: 4

Patch Set 2 : Typo. #

Total comments: 2

Patch Set 3 : Comments. #

Total comments: 4

Patch Set 4 : Comments. #

Patch Set 5 : Typo fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -16 lines) Patch
M media/audio/mac/audio_low_latency_input_mac.cc View 1 2 3 2 chunks +17 lines, -0 lines 0 comments Download
M media/audio/mac/audio_low_latency_output_mac.cc View 1 2 3 4 3 chunks +20 lines, -14 lines 0 comments Download
M media/base/audio_bus.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
DaleCurtis
scherkus is out, thanks for the review vrk!
8 years, 2 months ago (2012-10-08 20:42:20 UTC) #1
DaleCurtis
Chris: Can you do the first pass here?
8 years, 2 months ago (2012-10-08 20:51:51 UTC) #2
Chris Rogers
https://codereview.chromium.org/11086009/diff/1/media/audio/mac/audio_low_latency_output_mac.cc File media/audio/mac/audio_low_latency_output_mac.cc (right): https://codereview.chromium.org/11086009/diff/1/media/audio/mac/audio_low_latency_output_mac.cc#newcode242 media/audio/mac/audio_low_latency_output_mac.cc:242: // Unfortunately AUAudioInputStream and AUAudioOutputStream share the frame nit: ...
8 years, 2 months ago (2012-10-08 21:08:26 UTC) #3
DaleCurtis
https://codereview.chromium.org/11086009/diff/1/media/audio/mac/audio_low_latency_output_mac.cc File media/audio/mac/audio_low_latency_output_mac.cc (right): https://codereview.chromium.org/11086009/diff/1/media/audio/mac/audio_low_latency_output_mac.cc#newcode242 media/audio/mac/audio_low_latency_output_mac.cc:242: // Unfortunately AUAudioInputStream and AUAudioOutputStream share the frame On ...
8 years, 2 months ago (2012-10-08 21:17:34 UTC) #4
Chris Rogers
I just thought it would be best to avoid the OnMoreData() call completely in the ...
8 years, 2 months ago (2012-10-08 21:29:57 UTC) #5
DaleCurtis
Good point, I've changed both the input and output devices to do nothing when an ...
8 years, 2 months ago (2012-10-08 21:48:04 UTC) #6
Chris Rogers
lgtm with minor nits https://codereview.chromium.org/11086009/diff/9/media/audio/mac/audio_low_latency_input_mac.cc File media/audio/mac/audio_low_latency_input_mac.cc (right): https://codereview.chromium.org/11086009/diff/9/media/audio/mac/audio_low_latency_input_mac.cc#newcode469 media/audio/mac/audio_low_latency_input_mac.cc:469: // size set by kAudioDevicePropertyBufferFrameSize ...
8 years, 2 months ago (2012-10-08 22:14:31 UTC) #7
DaleCurtis
vrk? https://codereview.chromium.org/11086009/diff/9/media/audio/mac/audio_low_latency_input_mac.cc File media/audio/mac/audio_low_latency_input_mac.cc (right): https://codereview.chromium.org/11086009/diff/9/media/audio/mac/audio_low_latency_input_mac.cc#newcode469 media/audio/mac/audio_low_latency_input_mac.cc:469: // size set by kAudioDevicePropertyBufferFrameSize above on a ...
8 years, 2 months ago (2012-10-08 22:21:56 UTC) #8
vrk (LEFT CHROMIUM)
rubberstamp lgtm
8 years, 2 months ago (2012-10-08 22:51:01 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dalecurtis@chromium.org/11086009/10005
8 years, 2 months ago (2012-10-08 23:10:37 UTC) #10
commit-bot: I haz the power
8 years, 2 months ago (2012-10-09 01:12:05 UTC) #11
Change committed as 160759

Powered by Google App Engine
This is Rietveld 408576698