emularity icon indicating copy to clipboard operation
emularity copied to clipboard

No sound on Safari in MAME

Open zhuowei opened this issue 6 years ago • 5 comments

The Archive.org in-browser emulation of the Game Boy (powered by MAME) doesn't play any sound in macOS 10.14.5/Safari 12.1.1.

To reproduce:

  1. Visit https://archive.org/details/demo_is_that_a_demo_in_your_pocket_2015
  2. Press Play
  3. There's no sound
  4. Tapping the Mute button doesn't do anything.

This doesn't happen in Firefox 67.0.4 on the same computer: sound works fine there.

zhuowei avatar Jul 11 '19 02:07 zhuowei

i don't think this rom has sound.

Guy-Sowden avatar Jun 18 '20 15:06 Guy-Sowden

There is no sound in Safari. I also ran into this winter. At first I was sad, and then I realized that there are alternative browsers.

Is That a Demo in Your Pocket? by Snorpung has soundъ

LeonisX avatar Jun 19 '20 12:06 LeonisX

Safari requires sound only be activated after the first user interaction.

https://github.com/emscripten-ports/SDL2/issues/19

gingerbeardman avatar Jul 28 '21 15:07 gingerbeardman

Thanks Matt, I haven’t had time to look into this. In fact I don’t even have a Mac to run Safari on. But if anyone wants to fix this and send me a patch, I’ll be able to get it tested and merged fairly quickly.

db48x avatar Jul 28 '21 16:07 db48x

I'll look into it. No idea where to start, but I'll look into it.

The HyperCard Stacks collection have another problem in that they require a system with QuickTime installed to have sound. I've got in touch with the curator, Andrew, about that.

gingerbeardman avatar Jul 28 '21 16:07 gingerbeardman