Menu

Sound problems

2016-10-04
2016-10-13
  • Dan Manilow

    Dan Manilow - 2016-10-04

    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!

     
    • Kevin O'Dwyer

      Kevin O'Dwyer - 2016-10-06

      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.

       
  • Dan Manilow

    Dan Manilow - 2016-10-08

    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!

     
  • Kevin O'Dwyer

    Kevin O'Dwyer - 2016-10-09

    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

     
  • Dan Manilow

    Dan Manilow - 2016-10-13

    Awsome! Works great!
    Thanks alot!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.