feat(include/audio): Add sound configuration loading and extended sound pack structures
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.
This commit is contained in:
2 files changed
+28
No files matched your search
@@ -0,0 +1,8 @@
|
||||
#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
|
||||
Reference in new issue
Block a user