Skip to main content

stepped_audio

Function stepped_audio 

Source
pub(crate) fn stepped_audio() -> AudioSetup
Expand description

The audio setup a windowed run takes when the host steps the worlds.

A browser’s stepped world opens the page’s Web Audio context once the user’s first click on Play asks for it: a context may only start inside a gesture, so the scene stays silent until then even though the page has been up the whole time. A desktop run that asked for the stepped path has nothing to play to and stays silent.