support mp3 (mono) for soundfx

This commit is contained in:
Ondřej Novák 2025-06-15 14:41:53 +02:00
parent dd23d8c989
commit a4aa67ede9
8 changed files with 128 additions and 76 deletions

View file

@ -15,7 +15,7 @@ typedef struct t_wave
int32_t freq,bps;
}T_WAVE;
const char *find_chunk(const char *wav,char *name);
const char *find_chunk(const char *wav,char *name, const char *wav_end);
int get_chunk_size(const char *wav);
int read_chunk(const char *wav,void *mem);