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

Issue 152333003: Remove emphasis/de-emphasis filters from DynamicsCompressor. (Closed)

Created:
6 years, 10 months ago by Raymond Toy (Google)
Modified:
6 years, 10 months ago
CC:
blink-reviews, Raymond Toy
Visibility:
Public.

Description

Remove emphasis/de-emphasis filters from DynamicsCompressor. The pre-emphasis and de-emphasis filters are specified in the WebAudio spec, and this causes problems for Chrome OS which is using WebAudio to test speakers. A discussion on the W3C audio list indicates a consensus to remove the pre-emphasis and de-emphasis filters since they were never specified anyway: http://lists.w3.org/Archives/Public/public-audio/2014JanMar/0010.html A simple layout test is added. Before this CL, the output is compressed; with this CL, the output is no longer compressed. See also http://webaudiodemos.appspot.com/compressorfreq/ which demonstrates the compression that is happening. With this CL, the sine wave remains at a constant amplitude. Previously, the sine wave amplitude decreases as the frequency increases. BUG=340870 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166956

Patch Set 1 #

Patch Set 2 : Remove all emphasis code #

Patch Set 3 : Add test for DynamicsCompressor #

Patch Set 4 : Change layout test to be simpler #

Patch Set 5 : Add expected result. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -92 lines) Patch
A LayoutTests/webaudio/dynamicscompressor-simple.html View 1 2 3 1 chunk +81 lines, -0 lines 0 comments Download
A + LayoutTests/webaudio/dynamicscompressor-simple-expected.txt View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M Source/platform/audio/DynamicsCompressor.h View 1 1 chunk +0 lines, -11 lines 0 comments Download
M Source/platform/audio/DynamicsCompressor.cpp View 1 5 chunks +2 lines, -76 lines 0 comments Download
M Source/platform/audio/DynamicsCompressorKernel.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/audio/DynamicsCompressorKernel.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
Raymond Toy (Google)
PTAL
6 years, 10 months ago (2014-02-04 23:04:23 UTC) #1
Ken Russell (switch to Gerrit)
The code changes LGTM, but I think this CL should have an associated bug ID, ...
6 years, 10 months ago (2014-02-04 23:24:13 UTC) #2
Raymond Toy (Google)
On 2014/02/04 23:24:13, Ken Russell wrote: > The code changes LGTM, but I think this ...
6 years, 10 months ago (2014-02-04 23:46:08 UTC) #3
Raymond Toy (Google)
On 2014/02/04 23:24:13, Ken Russell wrote: > The code changes LGTM, but I think this ...
6 years, 10 months ago (2014-02-05 20:21:12 UTC) #4
Ken Russell (switch to Gerrit)
On 2014/02/05 20:21:12, rtoy wrote: > Bug filed and linked, and a simple layout test ...
6 years, 10 months ago (2014-02-05 20:36:05 UTC) #5
Raymond Toy (Google)
On 2014/02/05 20:36:05, Ken Russell wrote: > On 2014/02/05 20:21:12, rtoy wrote: > > Bug ...
6 years, 10 months ago (2014-02-11 21:27:37 UTC) #6
Ken Russell (switch to Gerrit)
Still LGTM.
6 years, 10 months ago (2014-02-11 21:36:09 UTC) #7
Raymond Toy (Google)
On 2014/02/11 21:36:09, Ken Russell wrote: > Still LGTM. Thanks!
6 years, 10 months ago (2014-02-11 21:39:14 UTC) #8
Raymond Toy (Google)
The CQ bit was checked by rtoy@google.com
6 years, 10 months ago (2014-02-11 21:39:30 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rtoy@google.com/152333003/180001
6 years, 10 months ago (2014-02-11 21:39:54 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rtoy@google.com/152333003/180001
6 years, 10 months ago (2014-02-12 01:57:58 UTC) #11
commit-bot: I haz the power
6 years, 10 months ago (2014-02-12 02:10:26 UTC) #12
Message was sent while issue was closed.
Change committed as 166956

Powered by Google App Engine
This is Rietveld 408576698