cykod / Quintus

HTML5 Game Engine
http://html5quintus.com
GNU General Public License v2.0
1.41k stars 401 forks source link

Audio lags or delayed when play on IE10 #32

Open takhimi opened 11 years ago

takhimi commented 11 years ago

When use Q.audio.play in IE10 the audio lags or delayed around 0.5seconds. When use with Firefox,Chrome this issues does not occurs.

The link is my modified Quintus platformer example with audio. It will lags when play on IE10 Im using windows 8

https://dl.dropboxusercontent.com/u/65841566/QuintusIE10.zip

cykod commented 11 years ago

Quintus use a limited set of audio channels to play sounds - this may be causing the lag on longer sound files.

Only alternative I can think for IE10 (which doesn't support the web audio API) of is to have an audio mode that uses a fixed set of audio buffers - but this would prevent the same sound from being played twice at the same time.