RESOLVED FIXED 112650
Remove AudioGain.idl from compilation.
https://bugs.webkit.org/show_bug.cgi?id=112650
Summary Remove AudioGain.idl from compilation.
Praveen Jadhav
Reported 2013-03-18 20:15:42 PDT
AudioGain is not part of WebAudio Specifications, but it is still included in build. AudioGain.idl should not be included Source/WebCore/CMakeLists.txt for compilation.
Attachments
Patch (18.58 KB, patch)
2013-03-19 03:56 PDT, Praveen Jadhav
webkit-ews: commit-queue-
Patch (31.56 KB, patch)
2013-03-19 05:02 PDT, Praveen Jadhav
webkit.review.bot: commit-queue-
Patch (31.21 KB, patch)
2013-03-19 19:19 PDT, Praveen Jadhav
webkit.review.bot: commit-queue-
Patch (31.23 KB, patch)
2013-03-21 02:14 PDT, Praveen Jadhav
no flags
Praveen Jadhav
Comment 1 2013-03-19 01:53:17 PDT
@Chris, Any specific reason why you have retained IDL file for AudioGain? This is as good as AudioParam and doesn't require seperate IDL file.
Praveen Jadhav
Comment 2 2013-03-19 03:56:31 PDT
Created attachment 193781 [details] Patch Patch is update to use AudioParam instead of AudioGain. This patch may require a modification in https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBufferSourceNode where gain attribute is not mentioned in AudioBufferSourceNode but is used in the corresponding IDL file.
Early Warning System Bot
Comment 3 2013-03-19 04:07:59 PDT
WebKit Review Bot
Comment 4 2013-03-19 04:08:27 PDT
Comment on attachment 193781 [details] Patch Attachment 193781 [details] did not pass chromium-ews (chromium-xvfb): Output: http://webkit-commit-queue.appspot.com/results/17213596
Kentaro Hara
Comment 5 2013-03-19 04:08:43 PDT
crogers should take a look:)
EFL EWS Bot
Comment 6 2013-03-19 04:10:32 PDT
Early Warning System Bot
Comment 7 2013-03-19 04:13:00 PDT
Peter Beverloo (cr-android ews)
Comment 8 2013-03-19 04:14:04 PDT
Comment on attachment 193781 [details] Patch Attachment 193781 [details] did not pass cr-android-ews (chromium-android): Output: http://webkit-commit-queue.appspot.com/results/17222539
Build Bot
Comment 9 2013-03-19 04:15:07 PDT
WebKit Review Bot
Comment 10 2013-03-19 04:17:51 PDT
Comment on attachment 193781 [details] Patch Attachment 193781 [details] did not pass cr-linux-debug-ews (chromium-xvfb): Output: http://webkit-commit-queue.appspot.com/results/17236191
Build Bot
Comment 11 2013-03-19 04:22:38 PDT
Build Bot
Comment 12 2013-03-19 04:41:56 PDT
Praveen Jadhav
Comment 13 2013-03-19 05:02:39 PDT
Created attachment 193797 [details] Patch Sorry about the previous patch. I din't consider updating make files environment other than efl. Here, all the makefiles are updated with reference to changeset 137516(adding OfflineAudioContext.idl). Also, one merge error in AudioBufferSourceNode.h is updated.
WebKit Review Bot
Comment 14 2013-03-19 05:47:05 PDT
Comment on attachment 193797 [details] Patch Attachment 193797 [details] did not pass chromium-ews (chromium-xvfb): Output: http://webkit-commit-queue.appspot.com/results/17193342 New failing tests: webaudio/gain-basic.html
Soo-Hyun Choi
Comment 15 2013-03-19 08:22:23 PDT
just a nit: fixing style errors should preferably go in a separate patch.
Chris Dumez
Comment 16 2013-03-19 08:29:21 PDT
Comment on attachment 193797 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=193797&action=review > LayoutTests/webaudio/gain-basic.html:26 > + testRunner.waitUntilDone(); Your test is synchronous so I don't believe you need this one. > LayoutTests/webaudio/gain-basic.html:40 > + finishJSTest(); This one is not needed either. Also note that finishJSTest() does not call testRunner.notifyDone() unless window.jsTestIsAsync is set to True. As a consequence, the test is likely to time out.
Chris Rogers
Comment 17 2013-03-19 18:19:49 PDT
Comment on attachment 193797 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=193797&action=review Overall seems fine as long as the layout tests pass and you've also tried some manual tests of the simple web audio demos > LayoutTests/webaudio/gain-basic.html:6 > +The 11th note will be of gain 0.0, so it should be silent (at the end in the rendered output). This comment needs to be updated > LayoutTests/webaudio/gain-basic.html:30 > + var context = new webkitOfflineAudioContext(2, renderLengthInFrames, sampleRate); you can create a normal webkitAudioContext like so: var context = new webkitAudioContext();
Praveen Jadhav
Comment 18 2013-03-19 19:19:01 PDT
Created attachment 193968 [details] Patch Layout test case updated as per the comments.
Praveen Jadhav
Comment 19 2013-03-19 19:28:12 PDT
(In reply to comment #16) > (From update of attachment 193797 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=193797&action=review > > > LayoutTests/webaudio/gain-basic.html:26 > > + testRunner.waitUntilDone(); > > Your test is synchronous so I don't believe you need this one. > > > LayoutTests/webaudio/gain-basic.html:40 > > + finishJSTest(); > > This one is not needed either. Also note that finishJSTest() does not call testRunner.notifyDone() unless window.jsTestIsAsync is set to True. As a consequence, the test is likely to time out. Thanks for the confirmation. Layout test is updated now.
Praveen Jadhav
Comment 20 2013-03-19 19:31:35 PDT
(In reply to comment #17) > (From update of attachment 193797 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=193797&action=review > > Overall seems fine as long as the layout tests pass and you've also tried some manual tests of the simple web audio demos > > > LayoutTests/webaudio/gain-basic.html:6 > > +The 11th note will be of gain 0.0, so it should be silent (at the end in the rendered output). > > This comment needs to be updated > > > LayoutTests/webaudio/gain-basic.html:30 > > + var context = new webkitOfflineAudioContext(2, renderLengthInFrames, sampleRate); > > you can create a normal webkitAudioContext like so: > var context = new webkitAudioContext(); LayoutTest is updated based on the comments. Verified ManualTest(only one) and it looks good.
WebKit Review Bot
Comment 21 2013-03-19 20:02:30 PDT
Comment on attachment 193968 [details] Patch Attachment 193968 [details] did not pass chromium-ews (chromium-xvfb): Output: http://webkit-commit-queue.appspot.com/results/17160739 New failing tests: webaudio/gain-basic.html
Praveen Jadhav
Comment 22 2013-03-21 02:14:18 PDT
Chris Rogers
Comment 23 2013-03-21 10:54:57 PDT
Comment on attachment 194205 [details] Patch Thanks Praveen!
WebKit Review Bot
Comment 24 2013-03-21 11:10:29 PDT
Comment on attachment 194205 [details] Patch Clearing flags on attachment: 194205 Committed r146486: <http://trac.webkit.org/changeset/146486>
WebKit Review Bot
Comment 25 2013-03-21 11:10:36 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.