]> git.alsa-project.org Git - alsa.git/commitdiff
modified alsatool extpick to replace sounds: with sound: prefix
authorJaroslav Kysela <perex@perex.cz>
Fri, 30 May 2008 12:28:39 +0000 (14:28 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 30 May 2008 12:28:39 +0000 (14:28 +0200)
alsatool

index 93785c34dba94653d19e0d5c882533721fc38102..1c5e73fb3335578ffb24ab5830054b66c38e6748 100755 (executable)
--- a/alsatool
+++ b/alsatool
@@ -495,6 +495,8 @@ def extpick(argv):
                           not a.upper().startswith('ALSA:') and \
                           not a.upper().startswith('[SOUND]') and \
                           not a.upper().startswith('SOUND:'):
+                               if a.upper().startswith('SOUNDS: '):
+                                       a = a[8:].strip()
                                lines[idx] = 'Subject: sound: ' + a + '\n'
                                print repr(lines[idx])
                        break