Index: Source/modules/webaudio/AudioContext.cpp |
diff --git a/Source/modules/webaudio/AudioContext.cpp b/Source/modules/webaudio/AudioContext.cpp |
index d5a9654632033839f5d9a89b4ae2fd73ce4d6ccd..ce5287914878c562a265a409416b995adafbe4a4 100644 |
--- a/Source/modules/webaudio/AudioContext.cpp |
+++ b/Source/modules/webaudio/AudioContext.cpp |
@@ -80,9 +80,7 @@ namespace blink { |
bool AudioContext::isSampleRateRangeGood(float sampleRate) |
{ |
- // FIXME: It would be nice if the minimum sample-rate could be less than 44.1KHz, |
- // but that will require some fixes in HRTFPanner::fftSizeForSampleRate(), and some testing there. |
- return sampleRate >= 44100 && sampleRate <= 96000; |
+ return sampleRate >= AudioBuffer::minAllowedSampleRate() && sampleRate <= AudioBuffer::maxAllowedSampleRate(); |
} |
// Don't allow more than this number of simultaneous AudioContexts talking to hardware. |