vrubleg / soundkeeper

Prevents SPDIF/HDMI digital audio playback devices from sleeping.
https://veg.by/projects/soundkeeper/
MIT License
209 stars 9 forks source link

Microphone support? #16

Open hastalavistababy21 opened 3 months ago

hastalavistababy21 commented 3 months ago

Hi there,

Thanks for writing this software, it’s incredible and works really well!

I was just wondering if it would be possible to extend the functionality of this software to include microphones?

The reason I ask is because with my current set of headphones, the microphone turns off after a period of inactivity, and takes a few seconds of me speaking into the device for it to register my voice.

This is very irritating when trying to use the microphone for anything other than sound recording. The 2 second delay before the microphone registers my voice means my voice is cut-off for that initial period, so it’s useless for things like Teams/Zoom/Skype, etc.

One current workaround that works is to leave the Sound control panel open and not minimised, but this is obviously a very sub-optimal solution, and I figured it would be worth asking you seeing as your software works so well for keeping my headphones alive at all times.

Another solution I have seen is to enable mic monitoring in Windows, but again this is sub-optimal as I don’t want to hear my own voice in my headphones at all.

I am willing to donate to you for your time if you think you can manage this as it is very important to me to keep my microphone awake at all times.

I’m running Windows 10 x64, if that matters at all.

vrubleg commented 3 months ago

That's doable, but I guess battery of your headset will discharge twice faster in this case. And, Zoom should open microphone device when you join a call and keep it open during the call, so it should be OK during the call. I'm surprised to hear that you are having issues.

hastalavistababy21 commented 3 months ago

Fantastic, thank you so much!

It seems insane that the headset behaves like this, and you’re right I’m sure it will cut into battery life. Hopefully that shouldn’t be too much of an issue considering a full charge is supposed to last 80 hours on this particular headset. Unfortunately this cutting of the microphone is very much what the manufacturer wants.

Plenty of others report the same issue with this headset unfortunately and it is strictly by design. Hell, I don’t mind if I lose 75% of the battery life, I just want the mic working when it should be working!

vrubleg commented 3 months ago

I refunded you donation because I don't take orders through donations. Donations are only for stuff that is already done so I don't feel obliged to do anything extra. It's not my job, it's a hobby.

The feature is doable, but it doesn't mean that I'll implement it anytime soon. I just noted it as requested and added to my backlog that already has hundreds of other ideas about all my projects.

hastalavistababy21 commented 3 months ago

Totally understandable. I could have sworn your donate page used to ask you to specify for which project you are donating though. Maybe my mind is playing tricks on me!

No problem. I will just have to check in occasionally, or try and implement something myself.

vrubleg commented 3 months ago

It asked "what project do you want to support", not a specific feature that is not even being developed yet.

vrubleg commented 3 months ago

No problem. I will just have to check in occasionally, or try and implement something myself.

A simple example how it could be done you can find here, just remove the parts that store captured data and remove time limit.

I'll probably add it as an option one day in the future, but there are too many settings in the Sound Keeper already, I want to implement a simple GUI (using pure Win32 API to make it as lightweight as possible) for settings before adding even more settings.

hastalavistababy21 commented 3 months ago

It asked "what project do you want to support", not a specific feature that is not even being developed yet.

Ah, that's all good then. I probably glanced at it quickly as I was posting from work. :)

No problem. I will just have to check in occasionally, or try and implement something myself.

A simple example how it could be done you can find here, just remove the parts that store captured data and remove time limit.

I'll probably add it as an option one day in the future, but there are too many settings in the Sound Keeper already, I want to implement a simple GUI (using pure Win32 API to make it as lightweight as possible) for settings before adding even more settings.

Thanks for the link! I'll try and wrap my head around it when I get some free time.

Fair enough re: wanting to sort out current settings and a GUI. Thank you again for making Sound Keeper. :)