mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	Added more Tone Control items to the sort tables
This commit is contained in:
		
							parent
							
								
									f1a6bb270d
								
							
						
					
					
						commit
						711a344fa4
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
					@ -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;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue