Chromium Code Reviews| Index: Source/modules/webaudio/OfflineAudioContext.cpp |
| diff --git a/Source/modules/webaudio/OfflineAudioContext.cpp b/Source/modules/webaudio/OfflineAudioContext.cpp |
| index bed82c16d9a7bb2413686feed7857a9dd4ae2baf..31f387654a053aa5bbeb043decf018823b20427d 100644 |
| --- a/Source/modules/webaudio/OfflineAudioContext.cpp |
| +++ b/Source/modules/webaudio/OfflineAudioContext.cpp |
| @@ -67,7 +67,7 @@ PassRefPtrWillBeRawPtr<OfflineAudioContext> OfflineAudioContext::create(Executio |
| } |
| if (!isSampleRateRangeGood(sampleRate)) { |
| - exceptionState.throwDOMException(SyntaxError, "sample rate (" + String::number(sampleRate) + ") must be in the range 44100-96000 Hz."); |
| + exceptionState.throwDOMException(SyntaxError, "sample rate (" + String::number(sampleRate) + ") must be in the range 8000-96000 Hz."); |
|
Raymond Toy
2014/07/30 16:49:38
Probably a good time to replace this with Exceptio
KhNo
2014/07/31 16:45:54
Thanks for good recommend.
|
| return nullptr; |
| } |