搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

No audio using different .js api's in firefox 12 on linux

  • 9 个回答
  • 1 人有此问题
  • 5 次查看
  • 最后回复者为 odinp

more options

Hi I am in the process of porting a c/c++ synthesizer into html5 and js. Trying to find usable api's I noticed that none of them produced any sound output in firefox. Tested the same api's in Chromium with no issues.

http://niiden.com/orbisyn/ using audiolib http://jams.no.de/ using audiolib

https://github.com/oampo/Audiolet

https://github.com/k9/HTML5-Synth

https://github.com/janesconference/Voron using KievII

I am thinking it has to do with the Audio Data API but it has been tested and should work with Firefox 4+

Hi I am in the process of porting a c/c++ synthesizer into html5 and js. Trying to find usable api's I noticed that none of them produced any sound output in firefox. Tested the same api's in Chromium with no issues. http://niiden.com/orbisyn/ using audiolib http://jams.no.de/ using audiolib https://github.com/oampo/Audiolet https://github.com/k9/HTML5-Synth https://github.com/janesconference/Voron using KievII I am thinking it has to do with the Audio Data API but it has been tested and should work with Firefox 4+

所有回复 (9)

more options

hello, the sound on the first two links plays fine here (on firefox 14). make sure that noscript or adblock aren't filtering js on those sites... (edit: i'm on windows, not sure if this might make a difference)

https://support.mozilla.org/en-US/kb/Video%20or%20audio%20does%20not%20pl...

由philipp于修改

more options

both adblock and noscript has been disabled. It is very possible that this issue only affects linux users. It would be nice with some more test results from other Linux users. Thanks for helping narrowing the issue

more options

The first two links work for me on Linux (OpenSUSE 11.4) as well.

Create a new profile as a test to check if your current profile is causing the problems.

See "Basic Troubleshooting: Make a new profile":

If the new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.

See:

more options

Thanks for the interest and reply. Meanwhile it did not change anything on my side creating a new profile :(

I was thinking it could have something to do with alsa and jack but then Chromium would respond differently.

The only packages that has been installed with Firefox is Firefox itself. $pacman -Q firefox firefox 12.0-2

more options

Firefox is a 32 bit application, so you may need to install 32 bit ALSA components.
I see an ALSA plugin listed in the GNOME Volume control.

more options

just tested this on a vanilla install of Ubuntu 10.04 with alsa and Firefox 10.0.2 with no problems. Audiolet did have very lacky sound when multible sound sources was enabled, but it did produce some sound. Updating firefox to 12 did not change a thing. So I will try to run firefox verbose and see what comes out. be right back...

more options

I feel you on that one. I just tested firefox in safemode and I was able to get sound response. This puzzles me because then the only thing that could cause the problem would be icedtea and/or flashplugin, right? Since adblock and noscript is disabled...

由odinp于修改

more options

& hardware acceleration is being disabled in safemode! you might try disabling it yourself in preferences > advanced > general...

more options

interesting! Disabling hw acceleration producess clicks and pop but no actual sound