perex d838d9
From ac9de424bc0a896e8e30b5ec176daf924a2cefb2 Mon Sep 17 00:00:00 2001
perex d838d9
From: Takashi Iwai <tiwai@suse.de>
perex d838d9
Date: Mon, 31 Aug 2009 16:41:12 +0200
perex d838d9
Subject: [PATCH] mixer: Add Speaker and Beep names to the weight list
perex d838d9
perex d838d9
Added strings "Speaker" and "Beep" to the weight list so that the entries
perex d838d9
appear in more appropriate positions.
perex d838d9
perex d838d9
Signed-off-by: Takashi Iwai <tiwai@suse.de>
perex d838d9
---
perex d838d9
 src/mixer/simple_none.c |    2 ++
perex d838d9
 1 files changed, 2 insertions(+), 0 deletions(-)
perex d838d9
perex d838d9
diff --git a/src/mixer/simple_none.c b/src/mixer/simple_none.c
perex d838d9
index 4802200..9259a08 100644
perex d838d9
--- a/src/mixer/simple_none.c
perex d838d9
+++ b/src/mixer/simple_none.c
perex d838d9
@@ -134,6 +134,7 @@ static int get_compare_weight(const char *name, unsigned int idx)
perex d838d9
 	static const char *const names[] = {
perex d838d9
 		"Master",
perex d838d9
 		"Headphone",
perex d838d9
+		"Speaker",
perex d838d9
 		"Tone",
perex d838d9
 		"Bass",
perex d838d9
 		"Treble",
perex d838d9
@@ -158,6 +159,7 @@ static int get_compare_weight(const char *name, unsigned int idx)
perex d838d9
 		"I2S",
perex d838d9
 		"IEC958",
perex d838d9
 		"PC Speaker",
perex d838d9
+		"Beep",
perex d838d9
 		"Aux",
perex d838d9
 		"Mono",
perex d838d9
 		"Playback",
perex d838d9
-- 
perex d838d9
1.5.5.1
perex d838d9