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

Issue 2537183002: Encode HRTF database using FLAC (Closed)

Created:
4 years ago by Raymond Toy
Modified:
3 years, 8 months ago
Reviewers:
Nico, foolip, hongchan
CC:
chromium-reviews, blink-reviews, dglazkov+blink, blink-reviews-api_chromium.org, hongchan
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Encode HRTF database using FLAC Encoding the HRTF database using FLAC shrinks the database file from 245804 bytes to 145812 bytes (40% less space), while still keeping exactly the same data. BUG=76391, 669545 TEST=hrtf-database.html Committed: https://crrev.com/625aefda371b1533682cf59b9332404a913651f4 Cr-Commit-Position: refs/heads/master@{#437026}

Patch Set 1 #

Patch Set 2 : Add README to describe how to create the Composite file. #

Patch Set 3 : Use bufferLoader instead of fetch. #

Patch Set 4 : Use the new audit system #

Total comments: 2

Patch Set 5 : Use the actual platform/audio/resources files in the tests #

Patch Set 6 : Remove unneeded files. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -3 lines) Patch
A third_party/WebKit/LayoutTests/webaudio/hrtf-database.html View 1 2 3 4 1 chunk +63 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/resources/audit.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/resources/buffer-loader.js View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
A third_party/WebKit/Source/platform/audio/resources/Composite.flac View Binary file 0 comments Download
A third_party/WebKit/Source/platform/audio/resources/README View 1 2 3 1 chunk +20 lines, -0 lines 0 comments Download
M third_party/WebKit/public/blink_resources.grd View 1 chunk +1 line, -1 line 1 comment Download

Messages

Total messages: 36 (20 generated)
Raymond Toy
PTAL
4 years ago (2016-11-30 17:31:46 UTC) #6
Raymond Toy
Did some rough timing by adding some LOG's in DecodeAudioFileData (in audio_decoder.cc) that decodes the ...
4 years ago (2016-11-30 19:57:25 UTC) #8
hongchan
Why do we need two copies of 'flac' files in two different places? https://codereview.chromium.org/2537183002/diff/60001/third_party/WebKit/LayoutTests/webaudio/resources/buffer-loader.js File ...
4 years ago (2016-12-02 17:59:40 UTC) #9
Raymond Toy
On 2016/12/02 17:59:40, hongchan wrote: > Why do we need two copies of 'flac' files ...
4 years ago (2016-12-02 18:12:03 UTC) #10
Raymond Toy
On 2016/12/02 18:12:03, Raymond Toy wrote: > On 2016/12/02 17:59:40, hongchan wrote: > > Why ...
4 years ago (2016-12-02 18:19:36 UTC) #11
Raymond Toy
https://codereview.chromium.org/2537183002/diff/60001/third_party/WebKit/LayoutTests/webaudio/resources/buffer-loader.js File third_party/WebKit/LayoutTests/webaudio/resources/buffer-loader.js (right): https://codereview.chromium.org/2537183002/diff/60001/third_party/WebKit/LayoutTests/webaudio/resources/buffer-loader.js#newcode27 third_party/WebKit/LayoutTests/webaudio/resources/buffer-loader.js:27: alert('BufferLoader: unable to load buffer ' + index + ...
4 years ago (2016-12-02 18:19:47 UTC) #12
hongchan
lgtm
4 years ago (2016-12-02 20:31:28 UTC) #13
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/2537183002/100001
4 years ago (2016-12-05 16:34:28 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/318541)
4 years ago (2016-12-05 16:41:12 UTC) #23
Raymond Toy
foolip: PTAL at blink_resources.grd.
4 years ago (2016-12-05 17:03:50 UTC) #25
foolip
lgtm
4 years ago (2016-12-07 16:05:07 UTC) #27
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/2537183002/100001
4 years ago (2016-12-07 16:05:29 UTC) #28
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years ago (2016-12-07 19:14:06 UTC) #31
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/625aefda371b1533682cf59b9332404a913651f4 Cr-Commit-Position: refs/heads/master@{#437026}
4 years ago (2016-12-07 19:15:51 UTC) #33
Nico
https://codereview.chromium.org/2537183002/diff/100001/third_party/WebKit/public/blink_resources.grd File third_party/WebKit/public/blink_resources.grd (left): https://codereview.chromium.org/2537183002/diff/100001/third_party/WebKit/public/blink_resources.grd#oldcode53 third_party/WebKit/public/blink_resources.grd:53: <include name="IDR_AUDIO_SPATIALIZATION_COMPOSITE" file="../Source/platform/audio/resources/Composite.wav" type="BINDATA"/> Can the .wav file be ...
3 years, 8 months ago (2017-04-17 01:39:02 UTC) #35
Raymond Toy
3 years, 8 months ago (2017-04-17 17:05:57 UTC) #36
Message was sent while issue was closed.
On 2017/04/17 01:39:02, Nico wrote:
>
https://codereview.chromium.org/2537183002/diff/100001/third_party/WebKit/pub...
> File third_party/WebKit/public/blink_resources.grd (left):
> 
>
https://codereview.chromium.org/2537183002/diff/100001/third_party/WebKit/pub...
> third_party/WebKit/public/blink_resources.grd:53: <include
> name="IDR_AUDIO_SPATIALIZATION_COMPOSITE"
> file="../Source/platform/audio/resources/Composite.wav" type="BINDATA"/>
> Can the .wav file be deleted now?

Yeah, we can remove that.

Powered by Google App Engine
This is Rietveld 408576698