Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

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

  • 9 risposte
  • 1 ha questo problema
  • 5 visualizzazioni
  • Ultima risposta di 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+

Tutte le risposte (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...

Modificato da philipp il

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...

Modificato da odinp il

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