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

Issue 9310004: Fix crash on Mac OS X caused by querying audio stream latency. (Closed)

Created:
8 years, 10 months ago by Chris Rogers
Modified:
8 years, 10 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, ddorwin+watch_chromium.org, fischman+watch_chromium.org, acolwell+watch_chromium.org, annacc+watch_chromium.org, vrk (LEFT CHROMIUM), scherkus (not reviewing), ihf+watch_chromium.org
Visibility:
Public.

Description

Fix crash on Mac OS X caused by querying audio stream latency. BUG=109959 TEST=none (covered by existing tests and tested locally with built-in audio, Metric Halo 2882, and Stanton FinalScratch Firewire devices to verify that crashes are fixed) Incidentally, the stream latency was always reported as zero on the devices I tested, so removing this code should have no practical impact. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=120095

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -32 lines) Patch
M media/audio/mac/audio_low_latency_output_mac.cc View 1 chunk +1 line, -32 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Chris Rogers
Greg Simon reported this bug: http://code.google.com/p/chromium/issues/detail?id=109959 I also consistently have the crash when using my ...
8 years, 10 months ago (2012-01-31 20:26:03 UTC) #1
henrika (OOO until Aug 14)
Chris, Many thanks for digging in this tricky issue. Shijing wrote these parts and he ...
8 years, 10 months ago (2012-01-31 21:28:06 UTC) #2
no longer working on chromium
Thanks Chris for fixing the problem. I added the stream delay since the apple documents ...
8 years, 10 months ago (2012-02-01 09:47:10 UTC) #3
no longer working on chromium
lgtm
8 years, 10 months ago (2012-02-01 09:49:38 UTC) #4
henrika (OOO until Aug 14)
LGTM.
8 years, 10 months ago (2012-02-01 09:59:45 UTC) #5
acolwell GONE FROM CHROMIUM
On 2012/02/01 09:59:45, henrika wrote: > LGTM. LGTM
8 years, 10 months ago (2012-02-01 20:19:14 UTC) #6
Chris Rogers
8 years, 10 months ago (2012-02-01 20:21:38 UTC) #7
Hi Shijing, no need to apologize.  It was indeed a tricky one to debug and only
shows up in special cases (with USB and Firewire devices) and there's no obvious
mistake in any of the code...

On 2012/02/01 09:47:10, xians1 wrote:
> Thanks Chris for fixing the problem.
> 
> I added the stream delay since the apple documents claimed that the stream
> latency was part of the total latency, but I never saw a case where it was not
a
> zero. So removing those code sounds good to me.
> 
> And I am sorry for causing the problem, I did not see the crash issue when I
was
> writing the code, though I am not sure if I ever tried the release build at
that
> time.
> 
> I will take care of the input part.
> 
> BR,
> /SX

Powered by Google App Engine
This is Rietveld 408576698