diff --git a/index.html b/index.html index 0522ded6e..cbe19875d 100644 --- a/index.html +++ b/index.html @@ -733,7 +733,7 @@
responseType to "arraybuffer". Audio
file data can be in any of the formats supported by the
audio element. The buffer passed to
+ "#widl-BaseAudioContext-decodeAudioData-Promise-AudioBuffer--ArrayBuffer-audioData-DecodeSuccessCallback-successCallback-DecodeErrorCallback-errorCallback-DecodeAudioDataOptions-options">
decodeAudioData has its content-type determined by sniffing,
as described in [[mimesniff]].
@@ -1205,6 +1205,14 @@ Although the primary method of interfacing with this function is @@ -1286,9 +1294,13 @@
disableResampling is
+ false, resample it to the sample-rate of the
AudioContext if it is different from the
- sample-rate of audioData.
+ sample-rate of audioData. Otherwise, resampling is
+ disabled, and the decoded data is unchanged, with the sample
+ rate of the AudioBuffer set to the sample rate of the
+ encoded data.
+ This dictionary specifies how + decodeAudioData should process the encoded audio data to + produce the decoded linear PCM audio. +
+disableResampling is true, resampling is not
+ done, and the returned AudioBuffer has its sample rate set
+ to the rate specified by the encoded data.
+