Page 1 of 1

Audiocontext error results in website being unable to load

Posted: 2019-01-04, 04:38
by fillerup
Fresh profile, Win10 1809 x64. Website in question is https://preference-test.sonarworks.com which returns only a blank page instead of loading.

The error console threw up the following:

Image

Same thin g happens on Basilisk, so most definitely a UXP error imo.

Re: Audiocontext error results in website being unable to load

Posted: 2019-01-04, 11:39
by yami_
This:

Code: Select all

const audio = new AudioContext({ sampleRate: data.sampleRate });
According to Mozilla there is no browser that supports this (this inforamtion may not be correct):
fig. 1 - MDN AudioContext browser support table
fig. 1 - MDN AudioContext browser support table
The standard defines it here. The easiest option would be to ignore the sampleRate member - the sound card driver or the OS should automatically re-sample the stream anyway.

Re: Audiocontext error results in website being unable to load

Posted: 2019-01-04, 12:59
by JustOff
I guess the solution is in bug #1361475, and it seems it can be easily ported to UXP.

Re: Audiocontext error results in website being unable to load

Posted: 2019-01-04, 15:15
by Moonchild
Will be solved in Issue #924 (UXP).