From 47e456f3159fd154f73a073df0bb9a343c70241d Mon Sep 17 00:00:00 2001 From: Bkacjios Date: Fri, 10 Jan 2025 23:48:25 -0500 Subject: [PATCH] Update audio.c Fixed client volume being applied twice during audio buffer processing. --- mumble/audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mumble/audio.c b/mumble/audio.c index 0bcf557..7bc8e46 100755 --- a/mumble/audio.c +++ b/mumble/audio.c @@ -479,7 +479,7 @@ void audio_transmission_event(lua_State *l, MumbleClient *client) { for (int j = 0; j < context->channels; j++) { float sample; buffer_readFloat(buffer, &sample); - input_buffer[i * context->channels + j] = soft_clip(sample * client->volume); + input_buffer[i * context->channels + j] = sample; } } }