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:
sankalp committed 2026-02-22 02:35:11 +05:45
1 parent f7a2a7270b
commit a776be0bf3
2 files changed
+28

No files matched your search

+8
View File
@@ -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