Index: Source/modules/webaudio/AudioBuffer.h |
diff --git a/Source/modules/webaudio/AudioBuffer.h b/Source/modules/webaudio/AudioBuffer.h |
index 8beeb625c3f82641bc14fcadc2c3a8acd7ee30f1..50f13395da88b57a452a103bda619cada9e30183 100644 |
--- a/Source/modules/webaudio/AudioBuffer.h |
+++ b/Source/modules/webaudio/AudioBuffer.h |
@@ -68,6 +68,8 @@ public: |
// Careful! Only call this when the page unloads, after the AudioContext is no longer processing. |
void releaseMemory(); |
+ static float minAllowedSampleRate(); |
+ static float maxAllowedSampleRate(); |
protected: |
AudioBuffer(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate); |
explicit AudioBuffer(AudioBus*); |