-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mute/audio forward disable on shortcut #4053
Comments
I like the idea. It is often possible to control the volume per application at the system level, but it is not straightforward enough.
It would be a client-side mute, because there is buffering on the client side (for example if the audio is delayed via Like the fullscreen toogle shortcut, which has an option to start in fullscreen mode ( One problem I see is that, for consistency, this option should work whether or not video is enabled (in the next release, there will be a flag |
An alternative to this would be to control the actual audio on the android device from the desktop as described in #4080. |
You're entirely right; I misspoke there, as I'd pictured this functionality being most easily implemented on the client side anyway. In my head I was thinking of "server" in the context of the adb architecture, which is funny because the "client" and "server" as adb defines those both sit on the same machine... :) Not useful, brain!
Yup! That's the sort of thing I was thinking. Don't touch what's happening between daemon and server, just throw away the daemon's audio data.
Stands to reason, I think. --mute seems like it would work.
I think I see your point, but I'm not sure that it would perhaps be necessary. From reading the other issues wrt the no-video/no-mirror requests, it seems like much of the utility of no-video is for capturing the audio. In that case, there would be two different ways I can think of that this feature would work: either mute would work for the recording like it would in the played audio, in which case you're recording dead air for a while and it would make more sense to just cut off the recording for that period; or you would want the played audio to mute but the recording to continue capturing, but in that case it's more likely you'd want it that way the entire time and would just use no-mirror with the output file option (in other words: the --no-mirror --record=nnnn.opus example given in #3978 ). So perhaps it actually makes more sense for what I'll for now call the --mute feature to only have meaning if audio and video mirroring are both in use. Just trying to think through the use case here. (On the bright side, that probably makes the implementation a bit simpler too, which is a nice added bonus.) |
Yes. For example, you're playing some music on your device, you want it to play on your computer. You can use |
Just thought I'd ping about this again -- apologies if there's no need; just saw that there'd been an update just a couple of weeks ago with the video/audio splitting and thought, "hey, I wonder if that means the mute feature is coming up soon!" Wanted to check if it was indeed, or if it might be a little bit. Thanks again! |
Is your feature request related to a problem? Please describe.
The audio forwarding feature is a great add -- but I find that even when I am using it, it would be nice to be able to mute/disable it for short periods to do something else audio-related with the host machine.
Describe the solution you'd like
It'd be great to have a host-side keyboard shortcut to toggle muting/disabling the audio on the host side. (It's effectively a server-side mute, but been avoiding using "mute" to not conflate it with muting the phone itself.)
Describe alternatives you've considered
Muting the phone itself: ...I mean, it works, sorta. But it's definitely unwieldy -- even the existing volume up/down shortcuts just mirror the phone's vol up/down, meaning sometimes they affect media audio, sometimes call audio, sometimes alerts. Mute itself on phones is of course the same way -- depending on the phone, you may mute media but still get alerts, or mute calls but still get media audio (this happens very often). It'd be great to have a host-side "master switch" for audio that can just be toggled off and on.
Additional context
None come to mind. Thank you for a fantastically useful tool!
The text was updated successfully, but these errors were encountered: