Ouch, dealing with regressions is always a bit sad :/

I would try the following:
  - Check if the audio.onerror event gives an error message, I see we don't
really print that error out in the handler atm. Does the error message give
a reason?
  - narrow down which Firefox version regressed. FF24 was good, FF27 was
bad - which release regressed? How does latest nightly Firefox behave?
  - write a minimal Emscripten-based page that loads up and plays
/sfx/fire.ogg, e.g. modify one of the built-in tests that play back audio,
and post that compiled sample as a bug report to Emscripten, or if you
confidently see that as a Firefox bug, then directly to Firefox bugzilla.
  - if Emscripten gets in the way, write a minimal handwritten JS page that
loads up and plays /sfx/fire.ogg in a similar way that the Emscripten
browser audio decoding in src/library_browser.js does. Perhaps that helps
triage whether it's a data issue, an Emscripten audio loading issue, or a
Firefox issue.

If all else fails, post a .zip file somewhere, and we can try to help out,

   Jukka


2014-02-16 15:59 GMT+02:00 Richard Quirk <[email protected]>:

> I've upgraded Ubuntu 12.04 pulling in Firefox 27, and I noticed that sound
> stopped working in my emscripten-compiled code. I tried in 24.3.0esr and
> sure enough sound worked. Ditto in Chromium, plenty of noise.
>
> I'm building with emscripten/master commit 6b0957ff3 aka 1.11.0. I use
> Mix_OpenAudio in the set up, followed by Mix_LoadWAV and Mix_PlayChannel.
> The web developer log says: "warning: browser could not fully decode audio
> /sfx/fire.ogg, trying slower base64 approach". If I put in more logging I
> can see that the number of bytes are loaded correctly, but I'm a bit lost
> as to what to debug next.
>
> I'd appreciate any advice anyone can give. My less-than-expert opinion is
> that playing audio with these calls in FF27 is "broken", but I don't want
> to jump to any conclusions. Are there any alternatives I should be using?
>
> Regards,
> Richard
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to