Skip to content
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

S90volume.sh : also store headphones volume #44

Open
wants to merge 1 commit into
base: opendingux
Choose a base branch
from
Open

S90volume.sh : also store headphones volume #44

wants to merge 1 commit into from

Conversation

citral23
Copy link

@citral23 citral23 commented Nov 9, 2020

This is useful, because the minimum volume is very loud when only PCM is adjustable.

Kept the old format and just added one line for Headphones below, to ensure a smooth transition that keeps users settings.

Signed-off-by: Christophe Branchereau [email protected]

This is useful, because the minimum volume is very loud when only PCM is adjustable.

Signed-off-by: Christophe Branchereau <[email protected]>
@pcercuei
Copy link
Member

I actually disagree about this. A user who, for some reason, have a very low or muted Headphones volume (e.g. by toying with the "alsamixergui" without knowing anything about it) may not be able to fix it without asking for help, and rebooting wouldn't fix the problem.

I think the way to go would be to have pwswd's volume backend to support more than one gain control. Then rising the volume from muted would first unmute Headphones and PCM (both at minimal gain value), then raise Headphones, and when Headphones is at 100, it would raise PCM.

Then and only then storing both PCM and Headphones volume would be acceptable.

pcercuei pushed a commit that referenced this pull request Sep 30, 2021
mtod()-related buffer overflows (CVE-2021-3592 #44, CVE-2021-3593 #45,
CVE-2021-3594 #47, CVE-2021-3595 #46).

Drop patch (already in version)

https://gitlab.freedesktop.org/slirp/libslirp/-/blob/v4.6.1/CHANGELOG.md

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants