rpms/alsa-utils/devel alsactl-init-fix-headphone.patch, NONE, 1.1 alsa-utils.spec, 1.83, 1.84
Jaroslav Kysela
perex at fedoraproject.org
Fri May 15 12:38:10 UTC 2009
Author: perex
Update of /cvs/pkgs/rpms/alsa-utils/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11685
Modified Files:
alsa-utils.spec
Added Files:
alsactl-init-fix-headphone.patch
Log Message:
fix headphone init
alsactl-init-fix-headphone.patch:
--- NEW FILE alsactl-init-fix-headphone.patch ---
>From 0d3aeb969592134f7749bd21fd2f641eb13d7090 Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela <perex at perex.cz>
Date: Fri, 15 May 2009 12:37:48 +0200
Subject: [PATCH] alsactl: fixed Headphone Playback Volume setting in default rules
Signed-off-by: Jaroslav Kysela <perex at perex.cz>
---
alsactl/init/default | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/alsactl/init/default b/alsactl/init/default
index c9aa7cc..af0f94f 100644
--- a/alsactl/init/default
+++ b/alsactl/init/default
@@ -46,7 +46,7 @@ CTL{name}="Front Playback Switch",PROGRAM=="__ctl_search", \
CTL{values}="on"
CTL{reset}="mixer"
-CTL{name}="Headphone Playback Volume",PROGRAM=="__ctl_search",GOTO="headphone0_end"
+CTL{name}="Headphone Playback Volume",PROGRAM!="__ctl_search",GOTO="headphone0_end"
# if master volume control is present, turn headphone volume to max
ENV{has_pmaster_vol}=="true",CTL{values}="0dB",RESULT=="0",GOTO="headphone0_end"
ENV{has_pmaster_vol}=="true",CTL{values)="100%",GOTO="headphone0_end"
@@ -101,7 +101,7 @@ CTL{name}="DAC Playback Switch",PROGRAM=="__ctl_search", \
CTL{values}="on"
CTL{reset}="mixer"
-CTL{name}="Synth Playback Volume",,PROGRAM=="__ctl_search", \
+CTL{name}="Synth Playback Volume",PROGRAM=="__ctl_search", \
CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="$env{ppercent}"
CTL{name}="Synth Playback Switch",PROGRAM=="__ctl_search", \
CTL{values}="on"
--
1.5.5.1
Index: alsa-utils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/alsa-utils/devel/alsa-utils.spec,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -p -r1.83 -r1.84
--- alsa-utils.spec 6 May 2009 09:24:34 -0000 1.83
+++ alsa-utils.spec 15 May 2009 12:37:39 -0000 1.84
@@ -4,7 +4,7 @@
Summary: Advanced Linux Sound Architecture (ALSA) utilities
Name: alsa-utils
Version: 1.0.20
-Release: 1%{?prever_dot}%{?dist}
+Release: 2%{?prever_dot}%{?dist}
License: GPLv2+
Group: Applications/Multimedia
URL: http://www.alsa-project.org/
@@ -13,6 +13,7 @@ Source4: alsaunmute
Source6: alsa-info.sh
Source10: alsa.rules
Source11: alsactl.conf
+Patch1: alsactl-init-fix-headphone.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: alsa-lib-devel >= %{version}
BuildRequires: ncurses-devel
@@ -92,6 +93,9 @@ if [ -s /etc/alsa/asound.state -a ! -s /
fi
%changelog
+* Fri May 15 2009 Jaroslav Kysela <jkysela at redhat.com> 1.0.20-2
+- fixed Headphone Volume issue (bz#500956)
+
* Wed May 06 2009 Jaroslav Kysela <jkysela at redhat.com> 1.0.20-1
- updated to 1.0.20 final
- updated alsa-info.sh script to 0.4.56
More information about the fedora-extras-commits
mailing list