Added more Tone Control items to the sort tables

This commit is contained in:
Jaroslav Kysela 2001-05-14 14:29:19 +00:00
parent f1a6bb270d
commit 711a344fa4

View file

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