Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 897633 Details for
Bug 936064
>=media-sound/alsa-utils-1.2.11: amixer: sset ignores external changes in stdin mode (PATCH)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix sset behavior in stdin mode
0001-amixer-fix-sset-in-stdin-mode.patch (text/plain), 860 bytes, created by
Nikita Zlobin
on 2024-07-14 21:12:58 UTC
(
hide
)
Description:
Patch to fix sset behavior in stdin mode
Filename:
MIME Type:
Creator:
Nikita Zlobin
Created:
2024-07-14 21:12:58 UTC
Size:
860 bytes
patch
obsolete
>From d348ec0b042353f9d3fa31494aacc1de66f10b11 Mon Sep 17 00:00:00 2001 >From: Nikita Zlobin <cook60020tmp@mail.ru> >Date: Mon, 15 Jul 2024 00:37:06 +0500 >Subject: [PATCH] amixer: fix sset in stdin mode > >Events from external changes must be handled before to get/set >anything in simple mixer. > >Found solution there: >https://stackoverflow.com/questions/75081447/alsa-lib-getting-mixer-volume-returns-wrong-value >--- > amixer/amixer.c | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/amixer/amixer.c b/amixer/amixer.c >index 8b8000b..4aa5377 100644 >--- a/amixer/amixer.c >+++ b/amixer/amixer.c >@@ -1494,6 +1494,7 @@ static int sset(unsigned int argc, char *argv[], int roflag, int keep_handle) > handle = NULL; > return -ENOENT; > } >+ snd_mixer_handle_events(handle); > if (!roflag) { > /* enum control */ > if (snd_mixer_selem_is_enumerated(elem)) >-- >2.44.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 936064
: 897633