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

Issue 2820113006: Remove AudioBufferCallback (Closed)

Created:
3 years, 8 months ago by Raymond Toy
Modified:
3 years, 8 months ago
Reviewers:
tkent, jsbell, foolip, hongchan
CC:
blink-reviews, blink-reviews-bindings_chromium.org, chromium-reviews, haraken, hongchan, Raymond Toy
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove AudioBufferCallback According to the WebAudio spec, the AudioBufferCallback interface should not exist. Instead we should have a DecodeSuccessCallback and DecodeErrorCallback functions. BUG=707338 TEST=callback behavior covered by existing tests Review-Url: https://codereview.chromium.org/2820113006 Cr-Commit-Position: refs/heads/master@{#466363} Committed: https://chromium.googlesource.com/chromium/src/+/91e558ce715fc5990700cfd003084b6c4a8ed3fa

Patch Set 1 #

Patch Set 2 : Clean up includes. #

Total comments: 5

Patch Set 3 : Slightly reorder BaseAudioContext.idl #

Messages

Total messages: 18 (8 generated)
Raymond Toy
PTAL
3 years, 8 months ago (2017-04-19 15:17:51 UTC) #2
hongchan
lgtm
3 years, 8 months ago (2017-04-19 15:40:11 UTC) #3
jsbell
drive-by... https://codereview.chromium.org/2820113006/diff/20001/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.idl File third_party/WebKit/Source/modules/webaudio/BaseAudioContext.idl (right): https://codereview.chromium.org/2820113006/diff/20001/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.idl#newcode7 third_party/WebKit/Source/modules/webaudio/BaseAudioContext.idl:7: callback DecodeSuccessCallback = void (AudioBuffer decodedData); totally silly ...
3 years, 8 months ago (2017-04-19 17:23:14 UTC) #5
foolip
lgtm https://codereview.chromium.org/2820113006/diff/20001/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp File third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp (right): https://codereview.chromium.org/2820113006/diff/20001/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp#newcode313 third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp:313: error_callback->call(this, error); Oh, sweet, using callback functions didn't ...
3 years, 8 months ago (2017-04-20 11:32:51 UTC) #6
Raymond Toy
https://codereview.chromium.org/2820113006/diff/20001/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp File third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp (right): https://codereview.chromium.org/2820113006/diff/20001/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp#newcode313 third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp:313: error_callback->call(this, error); On 2017/04/20 11:32:50, foolip_UTC7 wrote: > Oh, ...
3 years, 8 months ago (2017-04-20 15:20:41 UTC) #7
Raymond Toy
https://codereview.chromium.org/2820113006/diff/20001/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.idl File third_party/WebKit/Source/modules/webaudio/BaseAudioContext.idl (right): https://codereview.chromium.org/2820113006/diff/20001/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.idl#newcode7 third_party/WebKit/Source/modules/webaudio/BaseAudioContext.idl:7: callback DecodeSuccessCallback = void (AudioBuffer decodedData); On 2017/04/20 11:32:50, ...
3 years, 8 months ago (2017-04-20 15:21:40 UTC) #8
Raymond Toy
tkent: PTAL as API Owner. Just a minor tweak to remove AudioBufferCallback. None of these ...
3 years, 8 months ago (2017-04-20 15:23:40 UTC) #11
tkent
lgtm
3 years, 8 months ago (2017-04-20 23:11:23 UTC) #12
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/2820113006/40001
3 years, 8 months ago (2017-04-21 14:57:11 UTC) #15
commit-bot: I haz the power
3 years, 8 months ago (2017-04-21 16:40:06 UTC) #18
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/91e558ce715fc5990700cfd00308...

Powered by Google App Engine
This is Rietveld 408576698