]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Added more Tone Control items to the sort tables
authorJaroslav Kysela <perex@perex.cz>
Mon, 14 May 2001 14:29:19 +0000 (14:29 +0000)
committerJaroslav Kysela <perex@perex.cz>
Mon, 14 May 2001 14:29:19 +0000 (14:29 +0000)
src/mixer/simple.c

index 7b51de2696b742ce27eeb503c94662f04bba4e9b..a2d99310a5b744f91d3e483c6629bf7c44cd8231 100644 (file)
@@ -97,8 +97,10 @@ static struct mixer_name_table {
        const char *longname;
        const char *shortname;
 } name_table[] = {
+       {"Tone Control - Switch", "Tone"},
        {"Tone Control - Bass", "Bass"},
        {"Tone Control - Treble", "Treble"},
+       {"Synth Tone Control - Switch", "Synth Tone"},
        {"Synth Tone Control - Bass", "Synth Bass"},
        {"Synth Tone Control - Treble", "Synth Treble"},
        {0, 0},
@@ -136,6 +138,7 @@ static int get_compare_weight(const char *name, unsigned int idx)
        static const char *names[] = {
                "Master",
                "Headphone",
+               "Tone",
                "Bass",
                "Treble",
                "3D Control",
@@ -179,6 +182,9 @@ static int get_compare_weight(const char *name, unsigned int idx)
                "Center",
                "Output",
                "Boost",
+               "Tone",
+               "Bass",
+               "Treble",
                NULL,
        };
        const char *name1;