Introduce API to load sound configurations and expand SoundPack with richer audio data for multi‑key mappings and generic press handling, enabling more flexible audio management. New Features - Added `load_sound_config` prototype in `include/audio/config.h`. Enhancements - Extended `SoundPack` with generic press arrays, release data fields, and multi‑key mapping structs. - Added `AudioVoice` struct and `MAX_MIXER_VOICES` for voice management. - Added `generic_press_data`, `generic_press_samples`, `release_data`, and `release_samples` fields.
9 lines
176 B
C
9 lines
176 B
C
#ifndef VBX_AUDIO_CONFIG_H
|
|
#define VBX_AUDIO_CONFIG_H
|
|
|
|
#include "audio/types.h"
|
|
|
|
int load_sound_config(const char *config_path, SoundPack *pack);
|
|
|
|
#endif // VBX_AUDIO_CONFIG_H
|