feat(audio): add custom sound volume slider

This commit is contained in:
2026-05-22 14:28:22 +02:00
parent ba30b1e742
commit 921dd701c4
7 changed files with 131 additions and 6 deletions
+1 -1
View File
@@ -380,7 +380,7 @@ internal class MessageManager : IAsyncDisposable
{
// Custom bundled sounds (ids 17-19) go through NAudio WaveOutEvent.
// NAudio manages its own playback thread, so no framework marshalling needed.
Plugin.CustomAudioPlayer.Play((int)soundId - 16);
Plugin.CustomAudioPlayer.Play((int)soundId - 16, Plugin.Config.CustomSoundVolume);
}
// soundId == 0 (hand-edited config) falls through: plays nothing.
}