OSDN Git Service
(root)
/
pettanr
/
clientJs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 0.6.217, add #switch for X.Audio.
[pettanr/clientJs.git]
/
0.6.x
/
js
/
07_audio
/
01_XWebAudio.js
diff --git
a/0.6.x/js/07_audio/01_XWebAudio.js
b/0.6.x/js/07_audio/01_XWebAudio.js
index
67011bb
..
1cc3cba
100644
(file)
--- a/
0.6.x/js/07_audio/01_XWebAudio.js
+++ b/
0.6.x/js/07_audio/01_XWebAudio.js
@@
-306,7
+306,7
@@
if( X_WebAudio_context ){
this.audioBuffer = buffer;
this.duration = buffer.duration * 1000;
this.audioBuffer = buffer;
this.duration = buffer.duration * 1000;
- this.disatcher[ 'asyncDispatch' ]( X_WebAudio_touchState ? X_EVENT_MEDIA_
TOUCH_FOR_LOAD
: X_EVENT_READY );
+ this.disatcher[ 'asyncDispatch' ]( X_WebAudio_touchState ? X_EVENT_MEDIA_
WAIT_FOR_TOUCH
: X_EVENT_READY );
},
actualPlay : function(){
},
actualPlay : function(){
@@
-462,7
+462,7
@@
if( X_WebAudio_context ){
canPlay : X_Audio_codecs,
canPlay : X_Audio_codecs,
- detect : function( proxy,
source, ext
){
+ detect : function( proxy,
ext /* hash */
){
proxy[ 'asyncDispatch' ]( { type : X_EVENT_COMPLETE, canPlay : X_Audio_codecs[ ext ] } );
},
proxy[ 'asyncDispatch' ]( { type : X_EVENT_COMPLETE, canPlay : X_Audio_codecs[ ext ] } );
},