Facepunch / garrysmod-requests

Feature requests for Garry's Mod
83 stars 24 forks source link

Ability to change Audio Input and Output devices ingame. #1479

Open Randommmm opened 4 years ago

Randommmm commented 4 years ago

Garry's Mod should have the ability to adjust audio input and outputs ingame. Without this feature, users who change audio devices frequently for whatever reason will have to change Windows or Linux audio device settings and re-connect to a server.

If implemented, users could change devices on the fly without the need to re-join a server, without the need to change Windows, MacOS or Linux distro settings and gives users the ability to have different audio settings for ingame and general OS settings.

robotboy655 commented 4 years ago

It automatically binds to whatever default device is, even if it is changed during gameplay (i.e plugging/unplugging USB headset), so there should not be any problems. At least on Windows it does.

GrahamBest commented 4 years ago

Isn't this in the settings? I'm pretty sure you can just plug it in, and it will detect. If not, then just go in to settings then reset it. It should detect it.

Randommmm commented 4 years ago

It automatically binds to whatever default device is, even if it is changed during gameplay (i.e plugging/unplugging USB headset), so there should not be any problems. At least on Windows it does.

Really? Sometimes my headphones (with mic attached) disconnect (due to a bad cable) and other programs like Discord automatically re-detect the device once the cable has been moved in a certain way. (In Garry's Mod the game audio seems to re-apply, however voice chat and mic functions don't. Even trying to use the mic testing thing within the Settings shows NO voice activity).

Although with Garry's Mod, whenever my headphones disconnect for a short second I am unable to use voicechat nor hear voice chat. Despite messing around with game settings, windows settings etc.

Typically, I have to restart although just then I think I've found a solution. Entering "voice_enable 1" in console and just rejoining the server via "retry" the mic seems to work. I was completely unaware of the games ability to detect the Mic and Headphones when devices are changed. From testing, I've found this to be the case although from my testing, I am not sure if the game voice chat works under the same system.

I'll have to continue doing in-game testing to find out if what the issue is. Sorry that this request has turned more into a support question. I didn't intend it to be this way.

To keep this suggestion based. A complete refresh of mic and voice chat + game audio command or button in settings would be useful. Currently "snd_refresh" dose not fix my mic issues. I think voice chat and game audio are not linked under the same setting, although I could be wrong. Would love the insight from the developer.

Thank you for your time.

robotboy655 commented 4 years ago

I think the mic input is handled entirely by Steam, so make sure Steam uses correct device, etc. The settings are in Steam Chat settings now.