chatgui: add sound playback via miniaudio (MP3 notification sounds)

- SoundManager singleton wraps ma_engine + ma_sound (non-blocking, background thread)
- MP3 files embedded in QRC, decoded to PCM at startup with MA_SOUND_FLAG_DECODE
- miniaudio.h (MIT) in lib/, IMPLEMENTATION in separate miniaudio_impl.c
- Sound settings page in SettingsDialog: enable/disable, volume slider (0-100%)
- Config keys [gui] sound_enabled, sound_volume
- Incoming messages trigger msg_incoming.mp3 sound
This commit is contained in:
Evgeny committed 2026-07-19 14:46:21 +03:00
1 parent f6f7e12192
commit c2ad2e78c3
25 files changed
+101647 -2

No files matched your search

+2 -1
View File
@@ -36,7 +36,8 @@ static const QSet<QString> CONTROL_KEYS = {
};
static const QSet<QString> GUI_KEYS = {
"db_path", "debug_file", "debug_level", "debug_categories"
"db_path", "debug_file", "debug_level", "debug_categories",
"sound_enabled", "sound_volume"
};
static const QSet<QString> ALLOWED_KEYS_KEYS = {