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

Issue 1668373003: Improved error handling in AUAudioInputStream::Open() for Mac OSX (Closed)

Created:
4 years, 10 months ago by henrika (OOO until Aug 14)
Modified:
4 years, 10 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Improved error handling in AUAudioInputStream::Open() for Mac OSX BUG=549021 Committed: https://crrev.com/e8f2e5dea0f6ecdbd7106754d81643d33b44471d Cr-Commit-Position: refs/heads/master@{#373818}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Feedback from Tommi #

Patch Set 3 : Fixed audio input unit test. Now inline with how output side works as well #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -6 lines) Patch
M media/audio/mac/audio_low_latency_input_mac.cc View 1 3 chunks +10 lines, -4 lines 0 comments Download
M media/audio/mac/audio_low_latency_input_mac_unittest.cc View 1 2 1 chunk +0 lines, -2 lines 2 comments Download

Messages

Total messages: 15 (5 generated)
henrika (OOO until Aug 14)
As discussed. Goal is to add more unique error codes to our existing histogram tacking ...
4 years, 10 months ago (2016-02-05 12:14:59 UTC) #3
henrika (OOO until Aug 14)
https://codereview.chromium.org/1668373003/diff/1/media/audio/mac/audio_low_latency_input_mac.cc File media/audio/mac/audio_low_latency_input_mac.cc (right): https://codereview.chromium.org/1668373003/diff/1/media/audio/mac/audio_low_latency_input_mac.cc#newcode146 media/audio/mac/audio_low_latency_input_mac.cc:146: HandleError(kAudioUnitErr_InvalidParameter); Adding one extra here since we can then ...
4 years, 10 months ago (2016-02-05 12:16:28 UTC) #4
tommi (sloooow) - chröme
https://codereview.chromium.org/1668373003/diff/1/media/audio/mac/audio_low_latency_input_mac.cc File media/audio/mac/audio_low_latency_input_mac.cc (right): https://codereview.chromium.org/1668373003/diff/1/media/audio/mac/audio_low_latency_input_mac.cc#newcode122 media/audio/mac/audio_low_latency_input_mac.cc:122: HandleError(kAudioUnitErr_Initialized); I'm not sure this is a good idea. ...
4 years, 10 months ago (2016-02-05 12:29:30 UTC) #5
henrika (OOO until Aug 14)
Done. Had to change one error code since the previous one did not compile on ...
4 years, 10 months ago (2016-02-05 12:50:51 UTC) #6
tommi (sloooow) - chröme
lgtm
4 years, 10 months ago (2016-02-05 12:58:56 UTC) #7
henrika (OOO until Aug 14)
https://codereview.chromium.org/1668373003/diff/40001/media/audio/mac/audio_low_latency_input_mac_unittest.cc File media/audio/mac/audio_low_latency_input_mac_unittest.cc (left): https://codereview.chromium.org/1668373003/diff/40001/media/audio/mac/audio_low_latency_input_mac_unittest.cc#oldcode196 media/audio/mac/audio_low_latency_input_mac_unittest.cc:196: EXPECT_FALSE(ais->Open()); We don't support this case on the output ...
4 years, 10 months ago (2016-02-05 13:58:05 UTC) #8
tommi (sloooow) - chröme
lgtm https://codereview.chromium.org/1668373003/diff/40001/media/audio/mac/audio_low_latency_input_mac_unittest.cc File media/audio/mac/audio_low_latency_input_mac_unittest.cc (left): https://codereview.chromium.org/1668373003/diff/40001/media/audio/mac/audio_low_latency_input_mac_unittest.cc#oldcode196 media/audio/mac/audio_low_latency_input_mac_unittest.cc:196: EXPECT_FALSE(ais->Open()); On 2016/02/05 13:58:05, henrika wrote: > We ...
4 years, 10 months ago (2016-02-05 14:06:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1668373003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1668373003/40001
4 years, 10 months ago (2016-02-05 15:58:38 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-05 16:09:10 UTC) #13
commit-bot: I haz the power
4 years, 10 months ago (2016-02-05 16:10:17 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e8f2e5dea0f6ecdbd7106754d81643d33b44471d
Cr-Commit-Position: refs/heads/master@{#373818}

Powered by Google App Engine
This is Rietveld 408576698