Chromium Code Reviews| Index: Source/modules/webaudio/AudioContext.cpp |
| diff --git a/Source/modules/webaudio/AudioContext.cpp b/Source/modules/webaudio/AudioContext.cpp |
| index 6e4ddf65add102016812c4947f32b902ee144636..053e1254cefcd7d42efade6570359bc555d4671b 100644 |
| --- a/Source/modules/webaudio/AudioContext.cpp |
| +++ b/Source/modules/webaudio/AudioContext.cpp |
| @@ -80,9 +80,7 @@ namespace WebCore { |
| 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 >= 8000 && sampleRate <= 96000; |
|
Raymond Toy
2014/07/30 16:49:38
AudioBuffers support sample rates from 3kHz to 192
KhNo
2014/07/31 16:45:53
I think there is no reason we should hesitate to e
Raymond Toy
2014/07/31 17:25:13
Great. Then you can use AudioBuffer::minSampleRate
|
| } |
| // Don't allow more than this number of simultaneous AudioContexts talking to hardware. |