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

Issue 5550006: Implement WebKitClientImpl::loadAudioResource() to decode in-memory audio fil... (Closed)

Created:
10 years ago by Chris Rogers
Modified:
9 years, 7 months ago
CC:
chromium-reviews, vrk (LEFT CHROMIUM), fbarchard, Alpha Left Google, ddorwin+watch_chromium.org, sjl, acolwell GONE FROM CHROMIUM, annacc, darin-cc_chromium.org, awong, scherkus (not reviewing), Ken Russell (switch to Gerrit)
Visibility:
Public.

Description

Implement WebKitClientImpl::loadAudioResource() to decode in-memory audio file data for use by WebKit. Most of the interesting low-level code is being added in the media directory. BUG=NONE TEST=NONE (tested locally with web audio API loading files of format .wav .aif .mp3 .m4a 16bit 24bit In the longer term, WebKit layout tests will comprehensively exercise this code) Committed on behalf of Chris Rogers: http://src.chromium.org/viewvc/chrome?view=rev&revision=69458

Patch Set 1 #

Total comments: 22

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 56

Patch Set 4 : '' #

Total comments: 2

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+479 lines, -1 line) Patch
M media/audio/audio_util.h View 1 2 3 4 2 chunks +14 lines, -1 line 0 comments Download
M media/audio/audio_util.cc View 1 2 3 4 1 chunk +46 lines, -0 lines 0 comments Download
A media/filters/audio_file_reader.h View 1 2 3 1 chunk +79 lines, -0 lines 0 comments Download
A media/filters/audio_file_reader.cc View 1 2 3 4 1 chunk +226 lines, -0 lines 0 comments Download
M media/media.gyp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A webkit/glue/media/audio_decoder.h View 1 chunk +20 lines, -0 lines 0 comments Download
A webkit/glue/media/audio_decoder.cc View 1 2 3 4 1 chunk +76 lines, -0 lines 0 comments Download
M webkit/glue/webkit_glue.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/glue/webkitclient_impl.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/glue/webkitclient_impl.cc View 1 2 3 4 3 chunks +11 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Chris Rogers
The code has been tested on a pretty wide variety of audio files, including .mp3, ...
10 years ago (2010-12-08 01:48:34 UTC) #1
scherkus (not reviewing)
there's a bunch of style nits but I wanted to send out the high level ...
10 years ago (2010-12-09 17:35:40 UTC) #2
fbarchard
note that Chrome support 32 bit float by converting immediately to int32. http://codereview.chromium.org/5550006/diff/1/media/filters/audio_file_reader.cc File media/filters/audio_file_reader.cc ...
10 years ago (2010-12-09 21:11:02 UTC) #3
Chris Rogers
Thanks guys, I think I've addressed all of your comments. http://codereview.chromium.org/5550006/diff/1/media/filters/audio_file_reader.cc File media/filters/audio_file_reader.cc (right): http://codereview.chromium.org/5550006/diff/1/media/filters/audio_file_reader.cc#newcode28 ...
10 years ago (2010-12-10 23:34:00 UTC) #4
Chris Rogers
Sorry, last patch forgot to add the two new modified files: media/audio/audio_util.cc media/audio/audio_util.h
10 years ago (2010-12-10 23:37:35 UTC) #5
scherkus (not reviewing)
this is looking really good! lots of pedantic style nits http://codereview.chromium.org/5550006/diff/20001/media/audio/audio_util.h File media/audio/audio_util.h (right): http://codereview.chromium.org/5550006/diff/20001/media/audio/audio_util.h#newcode1 ...
10 years ago (2010-12-11 02:31:12 UTC) #6
Chris Rogers
Thanks Andrew, I think I got everything. http://codereview.chromium.org/5550006/diff/20001/media/audio/audio_util.h File media/audio/audio_util.h (right): http://codereview.chromium.org/5550006/diff/20001/media/audio/audio_util.h#newcode1 media/audio/audio_util.h:1: // Copyright ...
10 years ago (2010-12-13 20:25:27 UTC) #7
scherkus (not reviewing)
One FINAL thing is to include a TEST= and BUG= in your CL description But ...
10 years ago (2010-12-14 20:41:48 UTC) #8
Chris Rogers
Thanks Andrew! I fixed the last unsigned issue, added the BUG and TEST fields and ...
10 years ago (2010-12-16 20:01:26 UTC) #9
scherkus (not reviewing)
cool!
10 years ago (2010-12-16 20:11:52 UTC) #10
Ken Russell (switch to Gerrit)
10 years ago (2010-12-16 20:45:12 UTC) #11
Committed per above.

Powered by Google App Engine
This is Rietveld 408576698