OSDN Git Service

Version 0.6.167, add X.Audio.canPlay.
[pettanr/clientJs.git] / 0.6.x / js / 07_audio / 01_XWebAudio.js
index 56fdc2e..db538e4 100644 (file)
@@ -348,6 +348,8 @@ if( X_Audio_WebAudio_context ){
                {
                        backendName : 'Web Audio',
 
+                       canPlay : {}, // TODO HTMLAudio と同じ
+
                        // 
                        detect : function( proxy, source, ext ){
                                proxy[ 'asyncDispatch' ]( { type : X_EVENT_COMPLETE, canPlay : X_Audio_codecs[ ext ] } );