Files
vbx/include/audio/config.h
T
sankalp a776be0bf3 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.
2026-02-22 02:35:11 +05:45

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