1 |
ssuominen 13/05/27 14:55:22 |
2 |
|
3 |
Added: alsa-utils-1.0.27.1-hctl_elem_search.patch |
4 |
Log: |
5 |
Include upstreamized patch for "hctl element search" wrt #468690 by William Throwe and Jaroslav Kysela |
6 |
|
7 |
(Portage version: 2.2.0_alpha174/cvs/Linux x86_64, signed Manifest commit with key 4868F14D) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 media-sound/alsa-utils/files/alsa-utils-1.0.27.1-hctl_elem_search.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/alsa-utils/files/alsa-utils-1.0.27.1-hctl_elem_search.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/alsa-utils/files/alsa-utils-1.0.27.1-hctl_elem_search.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: alsa-utils-1.0.27.1-hctl_elem_search.patch |
16 |
=================================================================== |
17 |
From d61924fd247c2cf0280391e076c439c9427732aa Mon Sep 17 00:00:00 2001 |
18 |
From: Jaroslav Kysela <perex@×××××.cz> |
19 |
Date: Mon, 27 May 2013 16:40:26 +0200 |
20 |
Subject: [PATCH] amixer: Fix the hctl elem search bug |
21 |
|
22 |
Signed-off-by: Jaroslav Kysela <perex@×××××.cz> |
23 |
--- |
24 |
amixer/amixer.c | 1 + |
25 |
1 file changed, 1 insertion(+) |
26 |
|
27 |
diff --git a/amixer/amixer.c b/amixer/amixer.c |
28 |
index 2f1521b..92b0f83 100644 |
29 |
--- a/amixer/amixer.c |
30 |
+++ b/amixer/amixer.c |
31 |
@@ -1105,6 +1105,7 @@ static int cset(int argc, char *argv[], int roflag, int keep_handle) |
32 |
} |
33 |
return err; |
34 |
} |
35 |
+ snd_ctl_elem_info_get_id(info, id); /* FIXME: Remove it when hctl find works ok !!! */ |
36 |
if (!roflag) { |
37 |
snd_ctl_elem_value_set_id(control, id); |
38 |
if ((err = snd_ctl_elem_read(handle, control)) < 0) { |
39 |
-- |
40 |
1.7.11.7 |