Howler.js: Error on edge, WEBAUDIO17055: Cannot set buffer after it has been already been set.

Created on 9 Jan 2018  ยท  6Comments  ยท  Source: goldfire/howler.js

WEBAUDIO17055: Cannot set buffer after it has been already been set.

Most helpful comment

I am using howler.js v2.0.15 and seeing this error whenever a sound instance is stopped. Any progress on the issue?

All 6 comments

I have also experienced that error in console on Edge. The project is using howler.js version 2.0.7.

Has anyone figured out a reproducible test case for this?

I was able to reproduce using this https://jsfiddle.net/85a6jgb3/8/.

Steps:
1) Go to Browserstack (I believe Browserstack is free for open source projects) and select Win10/Edge17 and open developer tools.
2) Using the file input field, select the video file at Documents/video/sample_mpeg4
3) Wait a few seconds and the error will appear.

I am using howler.js v2.0.15 and seeing this error whenever a sound instance is stopped. Any progress on the issue?

Also faced with that

@goldfire
You can reproduce this on Edge, by visiting the Audio Sprites demo on the www.howlerjs.com page.
Play a sprite once, and once it has finished playing, it will throw the error.

Seems the catch throwing it here:
https://github.com/goldfire/howler.js/blob/9e1d0a83a67c6e43ca9602ac2b783e1fc867f579/dist/howler.js#L1986

and it's called here as self._cleanBuffer(sound._node):
https://github.com/goldfire/howler.js/blob/9e1d0a83a67c6e43ca9602ac2b783e1fc867f579/dist/howler.js#L1810

Edge version:
๎ฌ 42.17134.1.0
Microsoft EdgeHTML 17.17134

EDIT:
No errors were thrown on a project using Howler v 2.0.4.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

proyb6 picture proyb6  ยท  4Comments

inglesuniversal picture inglesuniversal  ยท  4Comments

jmeyers91 picture jmeyers91  ยท  4Comments

joshbruce picture joshbruce  ยท  4Comments

bestander picture bestander  ยท  4Comments