Index: third_party/WebKit/Source/modules/webaudio/PeriodicWave.h |
diff --git a/third_party/WebKit/Source/modules/webaudio/PeriodicWave.h b/third_party/WebKit/Source/modules/webaudio/PeriodicWave.h |
index 1e34ba64d5ab7873e5ec4d0416e605a5dbd9f80d..1c045a29b1eef08da4c7514fec5829c17fa976c4 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/PeriodicWave.h |
+++ b/third_party/WebKit/Source/modules/webaudio/PeriodicWave.h |
@@ -40,6 +40,7 @@ namespace blink { |
class BaseAudioContext; |
class ExceptionState; |
+class PeriodicWaveOptions; |
class PeriodicWave final : public GarbageCollectedFinalized<PeriodicWave>, public ScriptWrappable { |
DEFINE_WRAPPERTYPEINFO(); |
@@ -52,11 +53,22 @@ public: |
// Creates an arbitrary periodic wave given the frequency components (Fourier coefficients). |
static PeriodicWave* create( |
BaseAudioContext&, |
+ size_t realLength, |
+ const float* real, |
+ size_t imagLength, |
+ const float* imag, |
+ bool normalize, |
+ ExceptionState&); |
+ |
+ static PeriodicWave* create( |
+ BaseAudioContext&, |
DOMFloat32Array* real, |
DOMFloat32Array* imag, |
bool normalize, |
ExceptionState&); |
+ static PeriodicWave* create(BaseAudioContext*, const PeriodicWaveOptions&, ExceptionState&); |
+ |
virtual ~PeriodicWave(); |
// Returns pointers to the lower and higher wave data for the pitch range containing |