diff options
| author | skal <pascal.massimino@gmail.com> | 2026-01-31 15:47:33 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-01-31 15:47:33 +0100 |
| commit | 1016d65d4b5bf7cbd05bba4cf79dc2ce172c9fad (patch) | |
| tree | c77dc5c3f11c8344080bedc10e2e23f18efeddae /src/audio/audio.h | |
| parent | 0bb7fa35cc340a65c944e546231632379bcfa30c (diff) | |
opt: Guard debug/seek features with STRIP_ALL
Ensures that code related to the --seek command line option (simulation loops, silent audio rendering) is completely compiled out when the DEMO_STRIP_ALL build option is enabled, preserving the 64k size constraint.
Diffstat (limited to 'src/audio/audio.h')
| -rw-r--r-- | src/audio/audio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/audio/audio.h b/src/audio/audio.h index 67c83c2..1fb53b6 100644 --- a/src/audio/audio.h +++ b/src/audio/audio.h @@ -6,6 +6,8 @@ void audio_init(); void audio_start(); // Starts the audio device callback +#ifndef STRIP_ALL void audio_render_silent(float duration_sec); // Fast-forwards audio state +#endif void audio_update(); void audio_shutdown(); |
