SHA256
1
0
forked from pool/alsa-utils

- remove superfluous ca0106 file (now included in 1.0.27.2)

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-utils?expand=0&rev=86
This commit is contained in:
Takashi Iwai 2013-07-19 13:22:52 +00:00 committed by Git OBS Bridge
parent 9c31938a9e
commit 59dbc4751d
3 changed files with 5 additions and 34 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 19 15:23:41 CEST 2013 - tiwai@suse.de
- remove superfluous ca0106 file (now included in 1.0.27.2)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jul 19 15:13:27 CEST 2013 - tiwai@suse.de Fri Jul 19 15:13:27 CEST 2013 - tiwai@suse.de

View File

@ -56,8 +56,6 @@ Version: 1.0.27.2
Release: 0 Release: 0
Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{package_version}.tar.bz2 Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{package_version}.tar.bz2
Source1: 01beep.conf Source1: 01beep.conf
# missing in 1.0.27.1 tarball
Source99: ca0106
# Patch: alsa-utils-git-fixes.diff # Patch: alsa-utils-git-fixes.diff
# upstream fix patches # upstream fix patches
Patch1: 0001-alsactl-alsa-state.service-fix-typo-rkill-kill.patch Patch1: 0001-alsactl-alsa-state.service-fix-typo-rkill-kill.patch
@ -77,7 +75,6 @@ sed -i -e's/EXTRA_DIST= config.rpath /EXTRA_DIST=/' Makefile.am
# rm -f po/Makefile* po/*.gmo po/*.pot po/*.header po/stamp-* # rm -f po/Makefile* po/*.gmo po/*.pot po/*.header po/stamp-*
# patch -p1 # patch -p1
%patch1 -p1 %patch1 -p1
cp %{S:99} alsactl/init
# #
%if %suse_version < 1020 %if %suse_version < 1020
%patch99 -p1 %patch99 -p1

31
ca0106
View File

@ -1,31 +0,0 @@
# Configuration for CA0106 driver
CTL{reset}="mixer"
CTL{name}="Master Playback Volume", CTL{value}="-20dB"
CTL{name}="Master Playback Switch", CTL{value}="on"
CTL{name}="Analog Front Playback Volume", CTL{value}="0dB"
CTL{name}="Analog Front Playback Switch", CTL{value}="on"
CTL{name}="Analog Rear Playback Volume", CTL{value}="0dB"
CTL{name}="Analog Rear Playback Switch", CTL{value}="on"
CTL{name}="Analog Center/LFE Playback Volume", CTL{value}="0dB"
CTL{name}="Analog Center/LFE Playback Switch", CTL{value}="on"
CTL{name}="Analog Side Playback Volume", CTL{value}="0dB"
CTL{name}="Analog Side Playback Switch", CTL{value}="on"
CTL{name}="IEC958 Front Playback Volume", CTL{value}="0dB"
CTL{name}="IEC958 Rear Playback Volume", CTL{value}="0dB"
CTL{name}="IEC958 Center/LFE Playback Volume", CTL{value}="0dB"
# capture
CTL{name}="Analog Source Capture Enum", CTL{value}="Mic"
CTL{name}="Mic Capture Volume", CTL{value}="6dB"
CTL{name}="Shared Mic/Line in Capture Switch", CTL{value}="Mic in"
# some variants have also AC97 mixer
CTL{reset}="mixer"
CTL{name}="AC97 Line Capture Volume",PROGRAM!="__ctl_search",GOTO="ac97_end"
CTL{name}="Analog Source Capture Enum", CTL{value}="AC97 in"
CTL{name}="AC97 Mic Capture Switch", "on"
CTL{name}="AC97 Mic Capture Value", "6dB"
LABEL="ac97_end"
RESULT="true", EXIT="return"