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