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

Issue 2168653003: Pass through audio if HRTF database isn't loaded yet. (Closed)

Created:
4 years, 5 months ago by Raymond Toy
Modified:
4 years, 5 months ago
Reviewers:
hongchan
CC:
chromium-reviews, blink-reviews, haraken, hongchan, Raymond Toy
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Pass through audio if HRTF database isn't loaded yet. If the HRTF panner isn't loaded yet, instead of zeroing the output, copy the input to the output so that some audio is heard. In either case, there is a potential for a glitch, but it seems better to have some audio output instead of silence. The previous worst case was if loading the database is slow and the sound is short, you won't hear anything. Now you will. If the sound is long enough, you previously would hear silence and suddenly a sound. Now you'll hear the sound which would suddenly change to due spatialization. We deem this to be less troublesome that not hearing the initial sound at all. BUG=629858 TEST=Run test from 602668 and audio from the first instance should be heard Committed: https://crrev.com/dec7ebfb35299bc15a0bc222dea7838b04d2c469 Cr-Commit-Position: refs/heads/master@{#406638}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M third_party/WebKit/Source/modules/webaudio/PannerNode.cpp View 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (8 generated)
Raymond Toy
PTAL
4 years, 5 months ago (2016-07-20 17:38:59 UTC) #5
hongchan
I also believe this is the right UX pattern. Having sound is better than absolute ...
4 years, 5 months ago (2016-07-20 17:43:12 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2168653003/1
4 years, 5 months ago (2016-07-20 17:47:33 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-20 19:29:20 UTC) #11
commit-bot: I haz the power
4 years, 5 months ago (2016-07-20 19:30:40 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/dec7ebfb35299bc15a0bc222dea7838b04d2c469
Cr-Commit-Position: refs/heads/master@{#406638}

Powered by Google App Engine
This is Rietveld 408576698