discord-screenaudio icon indicating copy to clipboard operation
discord-screenaudio copied to clipboard

Microphone volume bolts to 100% on various occasions

Open Diegovsky opened this issue 2 years ago • 14 comments

Per the title, it happens when I join a call or share my screen. I don't want my microphone to be set to 100% because it is already very loud.

Diegovsky avatar Feb 10 '23 01:02 Diegovsky

This is also happening to me and its quite annoying.

Growebis avatar Apr 06 '23 21:04 Growebis

its happening to me too, i used to use flatseal to stop it from doing that but it seems that method doesn't work anymore ):

Robotcircus1 avatar Apr 08 '23 01:04 Robotcircus1

Same here

tarorororororo avatar Apr 13 '23 02:04 tarorororororo

I fixed it by changing my microphone profile in KDE's settings "digital stereo duplex". I am not sure if these settings are easily accessible on other setups. The other profiles available are like analog stereo input/output/duplex etc. My setup is this: https://files.catbox.moe/1elcmo.png

tarorororororo avatar Apr 13 '23 02:04 tarorororororo

okay ive somewhat figured out a workaround (at least one for my system for now) so you have to get the flatpak version of discordscreenaudio and flatseal, open flatseal and on discordscreenaudio's options turn the all devices option off screen After that go into discordscreenaudio, got to voice and video options, select your mic and turn the input volume to zero Screenshot_20230422_125304 after that you should be able to change your mic volume via your mixer (or whatever else you use to adjust mic volume) and it SHOULD not mess with the volume, at least it doesn't for me. Screenshot_20230422_125549 I hope this works for anyone needing it

Robotcircus1 avatar Apr 22 '23 17:04 Robotcircus1

Flatseal is not an option. The problem is with the application. I don't like to rush devs but I'm pinging @maltejur just to let you know this is happening and that if you happen to have an idea about why this happens I would be glad to spend some hours to try and fix it.

Diegovsky avatar Apr 24 '23 11:04 Diegovsky

I also don't really know what is causing this issue, that's why I have been quiet in this issue so far. I can look a bit further into it though.

maltejur avatar Apr 24 '23 20:04 maltejur

Ah, that's ok. Thanks for acknowledging it

Diegovsky avatar May 18 '23 11:05 Diegovsky

Sorry, isn't this client a sort of web browser wrapped with the audio's script and the virt-mic daemon? I had this volume bolts when using google meet and i remember fixing it by installing an extension like "Disable Automatic Gain Control" on my browser (chromium based). Maybe there's a possibility to implement something like this on the client?

Mica-CRT avatar May 25 '23 12:05 Mica-CRT

That indeed looks promising. I'll have a look if I can integrate that as a option.

On 25.05.23 14:49, Giovanni Micalizzi wrote:

Sorry, isn't this client a sort of web browser wrapped with the audio's script and the virt-mic daemon? I had this volume bolts when using google meet and i remember fixing it by installing an extension like "Disable Automatic Gain Control" https://chrome.google.com/webstore/detail/disable-automatic-gain-co/clpapnmmlmecieknddelobgikompchkk on my browser (chromium based). Maybe there's a possibility of implements something like this on the client?

— Reply to this email directly, view it on GitHub https://github.com/maltejur/discord-screenaudio/issues/100#issuecomment-1562849777, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALPOEUJ3HKEYWGV5J7T7EG3XH5IMFANCNFSM6AAAAAAUXHHZNQ. You are receiving this because you were mentioned.Message ID: @.***>

maltejur avatar May 26 '23 13:05 maltejur

I've pushed some experimental code to the autogain branch where I've added a toggle to disable automatic gain in the "Voice & Video" settings. Is anybody who has this issue able to build that and check if the issue is resolved? If you aren't able to build it yourself, I can also attach binaries here, just let me know.

maltejur avatar May 28 '23 08:05 maltejur

Thanks for taking the time, I'll look at it sometime this week

Diegovsky avatar Jun 12 '23 15:06 Diegovsky

I had the same problem with the webRTC auto gain adjustment, but the discord internal option for automatic gain adjustment seems to have turned that off to. image Since I turned that off, everything in working perfectly.

SebastianMeinberger avatar Nov 04 '23 12:11 SebastianMeinberger

Adjust the input volume in Discord so that it matches your system mic volume. E.g. my system mic volume should be at 35% so I turned down the input volume in Discord to 82% (idk why it scales so weirdly)

When Discord notices a new audio device, it adjusts the system volume according to its input volume setting. Since launching discord-screenaudio and/or starting a stream creates a virtmic, it notices a change and thus applies the input volume from the settings to your system mic. When you close discord-screenaudio, virtmic disappears and Discord notices another change in your audio devices, which means yet another adjustment to the system volume.

Str4ngeB0y avatar Feb 02 '24 01:02 Str4ngeB0y