~cldunlap1/ubuntu/oneiric/alsa-utils/fix-for-816388

« back to all changes in this revision

Viewing changes to debian/patches/alsactl_brace.patch

  • Committer: Bazaar Package Importer
  • Author(s): Daniel T Chen
  • Date: 2010-02-03 01:19:33 UTC
  • mfrom: (1.2.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20100203011933-xl5mh2yyc4gfkp9h
Tags: 1.0.22-0ubuntu1
* New upstream release
* debian/patches/:
  - alsactl_brace.patch:
  - show_avail_formats.patch:
  - dont_free_if_init_file_doesnt_exist.patch: Applied upstream.
  + backport-fixes-head.patch: (c2eaf8, 0034b1, cdc496)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Fix wrong enclosed values with braces
2
 
# -- Elimar Riesebieter <riesebie@lxtec.de>  Fri, 04 Sep 2009 22:15:12 +0200
3
 
Index: alsa-utils-1.0.21/alsactl/init/default
4
 
===================================================================
5
 
--- alsa-utils-1.0.21.orig/alsactl/init/default 2009-08-31 17:13:36.000000000 +0200
6
 
+++ alsa-utils-1.0.21/alsactl/init/default      2009-09-04 22:19:32.000000000 +0200
7
 
@@ -39,7 +39,7 @@
8
 
 CTL{name}="Front Playback Volume",PROGRAM!="__ctl_search",GOTO="front0_end"
9
 
 # if master volume control is present, turn front volume to max
10
 
 ENV{has_pmaster_vol}=="true",CTL{values}="0dB",RESULT=="0",GOTO="front0_end"
11
 
-ENV{has_pmaster_vol}=="true",CTL{values)="100%",GOTO="front0_end"
12
 
+ENV{has_pmaster_vol}=="true",CTL{values}="100%",GOTO="front0_end"
13
 
 CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="$env{ppercent}"
14
 
 LABEL="front0_end"
15
 
 CTL{name}="Front Playback Switch",PROGRAM=="__ctl_search", \
16
 
@@ -49,7 +49,7 @@
17
 
 CTL{name}="Headphone Playback Volume",PROGRAM!="__ctl_search",GOTO="headphone0_end"
18
 
 # if master volume control is present, turn headphone volume to max
19
 
 ENV{has_pmaster_vol}=="true",CTL{values}="0dB",RESULT=="0",GOTO="headphone0_end"
20
 
-ENV{has_pmaster_vol}=="true",CTL{values)="100%",GOTO="headphone0_end"
21
 
+ENV{has_pmaster_vol}=="true",CTL{values}="100%",GOTO="headphone0_end"
22
 
 CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="$env{ppercent}"
23
 
 LABEL="headphone0_end"
24
 
 CTL{name}="Headphone Playback Switch",PROGRAM=="__ctl_search", \
25
 
@@ -72,7 +72,7 @@
26
 
  CTL{name}="PCM Volume",PROGRAM!="__ctl_search", GOTO="pcm0_end"
27
 
 # if master volume control is present, turn PCM volume to max
28
 
 ENV{has_pmaster_vol}=="true",CTL{values}="0dB",RESULT=="0",GOTO="pcm0_end"
29
 
-ENV{has_pmaster_vol}=="true",CTL{values)="100%",GOTO="pcm0_end"
30
 
+ENV{has_pmaster_vol}=="true",CTL{values}="100%",GOTO="pcm0_end"
31
 
 # exception - some HDA codecs have shifted dB range
32
 
 CTL{dBmin}=="-34.50dB",CTL{dBmax}=="12.00dB",CTL{values}="0dB",GOTO="pcm0_end"
33
 
 CTL{dBmin}=="-30.00dB",CTL{dBmax}=="0dB",CTL{values}="0dB",GOTO="pcm0_end"
34
 
@@ -86,7 +86,7 @@
35
 
   CTL{name}="PCM Volume",PROGRAM!="__ctl_search",GOTO="pcm1_end"
36
 
 # if master volume control is present, turn PCM volume to max
37
 
 ENV{has_pmaster_vol}=="true",CTL{values}="0dB",RESULT=="0",GOTO="pcm1_end"
38
 
-ENV{has_pmaster_vol}=="true",CTL{values)="100%",GOTO="pcm1_end"
39
 
+ENV{has_pmaster_vol}=="true",CTL{values}="100%",GOTO="pcm1_end"
40
 
 # exception - some HDA codecs have shifted dB range
41
 
 CTL{dBmin}=="-34.50dB",CTL{dBmax}=="12.00dB",CTL{values}="0dB",GOTO="pcm1_end"
42
 
 CTL{dBmin}=="-30.00dB",CTL{dBmax}=="0dB",CTL{values}="0dB",GOTO="pcm1_end"
43
 
@@ -125,7 +125,7 @@
44
 
 CTL{name}="CD Playback Volume",PROGRAM!="__ctl_search", GOTO="cd0_end"
45
 
 # if master volume control is present, turn CD volume to max
46
 
 ENV{has_pmaster_vol}=="true",CTL{values}="0dB",RESULT=="0",GOTO="cd0_end"
47
 
-ENV{has_pmaster_vol}=="true",CTL{values)="100%",GOTO="cd0_end"
48
 
+ENV{has_pmaster_vol}=="true",CTL{values}="100%",GOTO="cd0_end"
49
 
 # exception - some HDA codecs have shifted dB range
50
 
 CTL{dBmin}=="-34.50dB",CTL{dBmax}=="12.00dB",CTL{values}="0dB",GOTO="cd0_end"
51
 
 CTL{dBmin}=="-30.00dB",CTL{dBmax}=="0dB",CTL{values}="0dB",GOTO="cd0_end"