I'm using chrome (latest) and i'm getting tons of errors:
" jsdosbox.nocache.js:5816 Uncaught (in promise) DOMException: The play() request was interrupted by a new load request. "
(same one over and over again).
Any ideas what i'm doing wrong?
thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It appears that chrome has broken the sound component of the emulator. Still works fine in firefox. Browser changes do have a habit of this. The best case scenario is that a bug is raised against chrome and they fix the regression.
Thanks for the response.
I've noticed the same problem in Android (WebView).
When I set webaudioenabled=true - I can hear sound, but it is very scrappy.
Maybe there is optimal settings for 'webaudioenabled=true'?
Mixing Rate / Sound Blaster / Sound Block ...
Thanks for your help!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm using chrome (latest) and i'm getting tons of errors:
" jsdosbox.nocache.js:5816 Uncaught (in promise) DOMException: The play() request was interrupted by a new load request. "
(same one over and over again).
Any ideas what i'm doing wrong?
thanks!
It appears that chrome has broken the sound component of the emulator. Still works fine in firefox. Browser changes do have a habit of this. The best case scenario is that a bug is raised against chrome and they fix the regression.
There is a workaround but it is not ideal.
If you either add the below to the url
&webaudioenabled=true
or add it as a property in the html
<input id="webaudioenabled" type="hidden" value="true"/>
i get sound in chrome. Not sure if that works on other browsers though.
Hi Kevin,
Thanks for the response.
I've noticed the same problem in Android (WebView).
When I set webaudioenabled=true - I can hear sound, but it is very scrappy.
Maybe there is optimal settings for 'webaudioenabled=true'?
Mixing Rate / Sound Blaster / Sound Block ...
Thanks for your help!
I have a hacky fix.
search the file jsdosbox.nocache.js for the string:
Wvc=2,Xvc='',Yvc=null,Zvc='496E98'
Change the first part to a number greater than 2 (ie 5 seems to work in my testing, but may need to be greater).
ie
Wvc=5,Xvc='',Yvc=null,Zvc='496E98'
then try again
Awsome! Works great!
Thanks alot!