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

Issue 1285073005: Add special case handling for disconnected BiquadFilter. (Closed)

Created:
5 years, 4 months ago by Raymond Toy
Modified:
5 years, 4 months ago
Reviewers:
hongchan
CC:
blink-reviews, Raymond Toy
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Add special case handling for disconnected BiquadFilter. Biquad filters have a tail where zero input can produce non-zero output due memory from previous inputs. However, we were disconnecting biquad filter nodes when the input is disconnected such as when a source node is finished. This causes the biquad to suddenly produce zero output. Add a case to handle biquad filters like convolver nodes and delay nodes which don't disconnect their outputs even if the inputs are disconnected. This is a temporary solution until full tail-time supported is implemented. That will fix this issue, and also allow biquad's to be collected when no longer needed. With this change, biquad's will be active for a very long time even with no inputs. BUG=521155 TEST=biquad-tail.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200691

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Update according to review. #

Patch Set 4 : Fix typo in expected results. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -8 lines) Patch
A LayoutTests/webaudio/biquad-tail.html View 1 2 1 chunk +67 lines, -0 lines 0 comments Download
A + LayoutTests/webaudio/biquad-tail-expected.txt View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M Source/modules/webaudio/AudioNode.cpp View 1 2 1 chunk +8 lines, -5 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
Raymond Toy
PTAL.
5 years, 4 months ago (2015-08-17 20:05:09 UTC) #2
hongchan
LGTM with nits. https://codereview.chromium.org/1285073005/diff/20001/LayoutTests/webaudio/biquad-tail.html File LayoutTests/webaudio/biquad-tail.html (right): https://codereview.chromium.org/1285073005/diff/20001/LayoutTests/webaudio/biquad-tail.html#newcode64 LayoutTests/webaudio/biquad-tail.html:64: successfullyParsed = true; </script> Nit: Need ...
5 years, 4 months ago (2015-08-17 20:25:40 UTC) #3
Raymond Toy
https://codereview.chromium.org/1285073005/diff/20001/LayoutTests/webaudio/biquad-tail.html File LayoutTests/webaudio/biquad-tail.html (right): https://codereview.chromium.org/1285073005/diff/20001/LayoutTests/webaudio/biquad-tail.html#newcode64 LayoutTests/webaudio/biquad-tail.html:64: successfullyParsed = true; </script> On 2015/08/17 20:25:40, hoch wrote: ...
5 years, 4 months ago (2015-08-17 20:44:59 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1285073005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1285073005/40001
5 years, 4 months ago (2015-08-17 20:47:20 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/94252)
5 years, 4 months ago (2015-08-17 22:01:10 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1285073005/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1285073005/60001
5 years, 4 months ago (2015-08-17 22:33:58 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/99345)
5 years, 4 months ago (2015-08-18 01:06:23 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1285073005/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1285073005/60001
5 years, 4 months ago (2015-08-18 02:53:11 UTC) #16
commit-bot: I haz the power
5 years, 4 months ago (2015-08-18 04:31:55 UTC) #17
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=200691

Powered by Google App Engine
This is Rietveld 408576698