Skip to content

MTY_AudioReset

chrisd1100 edited this page Aug 25, 2022 · 1 revision

Flush the context and reset it as though it was just created.

Internally this function will stop playback so the OS does not think audio is actively playing. This function should be called whenever you will not be queuing audio for a while.

void MTY_AudioReset(
    MTY_Audio * ctx
);

Parameters

ctx (MTY_Audio *)

An MTY_Audio context.

Platform support

Windows   macOS   Android   Linux   Web  

See also

Module: Audio

Clone this wiki locally