OSDN Git Service

Version 0.6.160, fix X.Net.
[pettanr/clientJs.git] / 0.6.x / js / 07_audio / 01_XWebAudio.js
index 00cf9c3..66571d1 100644 (file)
@@ -48,14 +48,14 @@ if( X_Audio_WebAudio_context ){
                                        // decoeAudioData の処理がキャンセルされることがある(エラーやコールバックの発火もなく、ただ処理が消滅する)。
                                        // ただし iOS 8.1.2 では エラーになる
                                                if( X_Audio_WebAudio_context.createBuffer && X_UA[ 'iOS' ] < 8 ){
-                                                       this._onDecodeSuccess( X_Audio_WebAudio_context.createBuffer( e.data, false ) );
+                                                       this._onDecodeSuccess( X_Audio_WebAudio_context.createBuffer( e.response, false ) );
                                                } else
                                                if( X_Audio_WebAudio_context.decodeAudioData ){
-                                                       X_Audio_WebAudio_context.decodeAudioData( e.data,
+                                                       X_Audio_WebAudio_context.decodeAudioData( e.response,
                                                                this.onDecodeSuccess = X_Callback_create( this, this._onDecodeSuccess ),
                                                                this.onDecodeError   = X_Callback_create( this, this._onDecodeError ) );
                                                } else {
-                                                       this._onDecodeSuccess( X_Audio_WebAudio_context.createBuffer( e.data, false ) );
+                                                       this._onDecodeSuccess( X_Audio_WebAudio_context.createBuffer( e.response, false ) );
                                                };
                                                break;