gecko-dev/content/media/webaudio/blink
Karl Tomlinson 6578a0d181 b=991533 move sample rate limits to WebAudioUtils r=padenot
Also change WebAudioUtils from a class to a namespace, so that constant
variables can be defined inline with internal linkage.

static class variables cannot be defined inline because this violates the one
definition rule, even though some compilers may not notice.

--HG--
extra : transplant_source : %9F4%2Ct%BA%D2%BD%8A1Xev%92%C0%A1%AD%88IH%BF
2014-05-16 08:44:17 +12:00
..
Biquad.cpp b=944143 avoid producing infinite stream of subnormals in ZeroPole tail r=padenot 2014-01-07 12:53:48 +13:00
Biquad.h b=939491 avoid producing infinite stream of subnormals in BiquadFilterNode tail r=padenot 2013-12-03 12:07:16 +13:00
DenormalDisabler.h
DirectConvolver.cpp
DirectConvolver.h Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
DynamicsCompressor.cpp Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
DynamicsCompressor.h Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
DynamicsCompressorKernel.cpp b=991533 move sample rate limits to WebAudioUtils r=padenot 2014-05-16 08:44:17 +12:00
DynamicsCompressorKernel.h Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
FFTConvolver.cpp Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
FFTConvolver.h Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
HRTFDatabase.cpp Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
HRTFDatabase.h Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
HRTFDatabaseLoader.cpp Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
HRTFDatabaseLoader.h Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
HRTFElevation.cpp Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
HRTFElevation.h Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
HRTFKernel.cpp b=956604 optimize inverse FFT scaling during convolution r=padenot 2014-01-08 16:58:11 +13:00
HRTFKernel.h Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
HRTFPanner.cpp Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
HRTFPanner.h Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
IRC_Composite_C_R0195-incl.cpp Bug 963056 - Part 1: Name unnamed struct in IRC_Composite_C_R0195-incl.cpp. r=ehsan 2014-02-11 13:31:57 -05:00
moz.build Bug 939571 - Build Web Audio in unified mode; r=glandium 2013-11-19 14:11:16 -05:00
PeriodicWave.cpp Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
PeriodicWave.h Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
README
Reverb.cpp Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
Reverb.h Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
ReverbAccumulationBuffer.cpp
ReverbAccumulationBuffer.h Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
ReverbConvolver.cpp Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
ReverbConvolver.h Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
ReverbConvolverStage.cpp Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
ReverbConvolverStage.h Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
ReverbInputBuffer.cpp
ReverbInputBuffer.h Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
ZeroPole.cpp b=944143 avoid producing infinite stream of subnormals in ZeroPole tail r=padenot 2014-01-07 12:53:48 +13:00
ZeroPole.h b=944143 avoid producing infinite stream of subnormals in ZeroPole tail r=padenot 2014-01-07 12:53:48 +13:00

This directory contains the code originally borrowed from the Blink Web Audio
implementation.  We are forking the code here because in many cases the burden
of adopting Blink specific utilities is too large compared to the prospect of
importing upstream fixes by just copying newer versions of the code in the
future.

The process of borrowing code from Blink is as follows:

* Try to borrow utility classes only, and avoid borrowing code which depends
  too much on the Blink specific utilities.
* First, import the pristine files from the Blink repository before adding
  them to the build system, noting the SVN revision of Blink from which the
  original files were copied in the commit message.
* In a separate commit, add the imported source files to the build system,
  and apply the necessary changes to make it build successfully.
* Use the code in a separate commit.
* Never add headers as exported headers.  All headers should be included
  using the following convention: #include "blink/Header.h".
* Leave the imported code in the WebCore namespace, and import the needed
  names into the Mozilla code via `using'.
* Cherry-pick upsteam fixes manually when needed.  In case you fix a problem
  that is not Mozilla specific locally, try to upstream your changes into
  Blink.
* Ping ehsan for any questions.