The surface mwg/audio needs from a playing sound - exactly what HTMLAudioElement
already provides, named here so a test (or a game with its own audio backend) can supply
a fake without a real Audio element existing, which nothing outside a browser can
create.
The surface
mwg/audioneeds from a playing sound - exactly whatHTMLAudioElementalready provides, named here so a test (or a game with its own audio backend) can supply a fake without a realAudioelement existing, which nothing outside a browser can create.