Index: Source/platform/audio/AudioUtilities.h |
diff --git a/Source/platform/audio/AudioUtilities.h b/Source/platform/audio/AudioUtilities.h |
index a7e02d721f2435224c4081f2ff9c4f8a9b55992c..51c1f28265493344b533553e694bb8968a6de494 100644 |
--- a/Source/platform/audio/AudioUtilities.h |
+++ b/Source/platform/audio/AudioUtilities.h |
@@ -42,6 +42,12 @@ PLATFORM_EXPORT double discreteTimeConstantForSampleRate(double timeConstant, do |
// Convert the time to a sample frame at the given sample rate. |
PLATFORM_EXPORT size_t timeToSampleFrame(double time, double sampleRate); |
+// Check that |sampleRate| is a valid rate for AudioBuffers. |
+PLATFORM_EXPORT bool isValidAudioBufferSampleRate(float sampleRate); |
+ |
+// Return max/min sample rate that platform supported. |
Raymond Toy
2014/09/12 15:56:55
Nit: Fix comment:
// Return max/min sample rate s
KhNo
2014/09/12 16:17:12
Done.
|
+PLATFORM_EXPORT float minAudioBufferSampleRate(); |
+PLATFORM_EXPORT float maxAudioBufferSampleRate(); |
} // AudioUtilites |
} // namespace blink |