From f3a68c76a32c7467b0c9493e7f4cc16de2b2c227 Mon Sep 17 00:00:00 2001 From: skal Date: Tue, 27 Jan 2026 22:22:24 +0100 Subject: feat(spectool): Add MP3 support for audio analysis Leverages the built-in MP3 decoder in miniaudio to allow spectool's 'analyze' command to process .mp3 files in addition to .wav files. Updates the tool's command-line help text and the project's HOWTO.md to reflect the new capability. --- src/audio/synth.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/audio/synth.h') diff --git a/src/audio/synth.h b/src/audio/synth.h index ce9825d..17770a7 100644 --- a/src/audio/synth.h +++ b/src/audio/synth.h @@ -22,3 +22,4 @@ void synth_commit_update(int spectrogram_id); void synth_trigger_voice(int spectrogram_id, float volume, float pan); void synth_render(float* output_buffer, int num_frames); +int synth_get_active_voice_count(); -- cgit v1.2.3