Index: Source/modules/webaudio/OscillatorNode.h |
diff --git a/Source/modules/webaudio/OscillatorNode.h b/Source/modules/webaudio/OscillatorNode.h |
index 742a77ff41504dff9ae024035d409ed2fed4fbf0..51701eba85726c4d043d8d0dae90d26b38408cc5 100644 |
--- a/Source/modules/webaudio/OscillatorNode.h |
+++ b/Source/modules/webaudio/OscillatorNode.h |
@@ -36,7 +36,7 @@ |
namespace WebCore { |
class AudioContext; |
-class WaveTable; |
+class PeriodicWave; |
// OscillatorNode is an audio generator of periodic waveforms. |
@@ -68,7 +68,7 @@ public: |
AudioParam* frequency() { return m_frequency.get(); } |
AudioParam* detune() { return m_detune.get(); } |
- void setWaveTable(WaveTable*); |
+ void setPeriodicWave(PeriodicWave*); |
private: |
OscillatorNode(AudioContext*, float sampleRate); |
@@ -100,13 +100,13 @@ private: |
AudioFloatArray m_phaseIncrements; |
AudioFloatArray m_detuneValues; |
- RefPtr<WaveTable> m_waveTable; |
+ RefPtr<PeriodicWave> m_periodicWave; |
// Cache the wave tables for different waveform types, except CUSTOM. |
- static WaveTable* s_waveTableSine; |
- static WaveTable* s_waveTableSquare; |
- static WaveTable* s_waveTableSawtooth; |
- static WaveTable* s_waveTableTriangle; |
+ static PeriodicWave* s_periodicWaveSine; |
+ static PeriodicWave* s_periodicWaveSquare; |
+ static PeriodicWave* s_periodicWaveSawtooth; |
+ static PeriodicWave* s_periodicWaveTriangle; |
}; |
} // namespace WebCore |