OSDN Git Service

Version 0.6.206, update X.Node.Anime, bug fixes X.HTMLAudio@getActualCurrentTime.
[pettanr/clientJs.git] / 0.6.x / js / 07_audio / 02_XHTMLAudio.js
index f9b82f5..80723b9 100644 (file)
@@ -330,7 +330,7 @@ if( X_Audio_constructor ){
                                                break;\r
                                        \r
                                        case 'seeked' :\r
-                                               if( this._seekingFixON ) this._seekingFixON = false;\r
+                                               if( X_HTMLAudio_seekingFixIOS ) this._seekingFixON = false;\r
                                                break;\r
                                        \r
                                        case 'waiting' :                //      次のフレームが利用不可のため再生を停止したが、そのフレームがやがて利用可能になると想定している場合に発生\r
@@ -507,6 +507,7 @@ if( X_Audio_constructor ){
                        getActualCurrentTime : function(){\r
                                return ( X_HTMLAudio_currentTimeFix ?\r
                                                        X_Timer_now() - this._currentFixStart + this._currentFixBegin :\r
+                                                       this._seekingFixON ? this._lastCurrentTime * 1000 :\r
                                                        this[ '_rawObject' ].currentTime * 1000 | 0 );\r
                        },\r
                /*\r