最終更新:2013-03-07 (木) 23:42:11 (4065d)
decodeAudioData
Top / decodeAudioData
void decodeAudioData(ArrayBuffer audioData, DecodeSuccessCallback successCallback, optional DecodeErrorCallback errorCallback);
パラメータ
入力
- audioData is an ArrayBuffer containing audio file data.
コールバック
- successCallback is a callback function which will be invoked when the decoding is finished. The single argument to this callback is an AudioBuffer representing the decoded PCM audio data.
- errorCallback is a callback function which will be invoked if there is an error decoding the audio file data.