// Doom audio owns PureDOOM sound extraction, MIDI synthesis, and native stream submission. #pragma once // Starts the optional audio worker after PureDOOM has initialized its sound state. void DoomAudioStart(void); // Stops playback immediately without waiting for the worker. void DoomAudioAbort(void); // Stops the audio worker and releases its process-owned resources. void DoomAudioShutdown(void); // Enters the lock shared by the game loop and PureDOOM audio callbacks. void DoomAudioLockCore(void); // Leaves the lock shared by the game loop and PureDOOM audio callbacks. void DoomAudioUnlockCore(void);