mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	alsa: fix duplicate mapping detection
This commit is contained in:
		
							parent
							
								
									34b48887ef
								
							
						
					
					
						commit
						b5cea8d590
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -2930,7 +2930,7 @@ static int profile_verify(pa_alsa_profile *p) {
 | 
			
		|||
            char **in;
 | 
			
		||||
            pa_bool_t duplicate = FALSE;
 | 
			
		||||
 | 
			
		||||
            for (in = p->output_mapping_names; *in; in++)
 | 
			
		||||
            for (in = name + 1; *in; in++)
 | 
			
		||||
                if (pa_streq(*name, *in)) {
 | 
			
		||||
                    duplicate = TRUE;
 | 
			
		||||
                    break;
 | 
			
		||||
| 
						 | 
				
			
			@ -2963,7 +2963,7 @@ static int profile_verify(pa_alsa_profile *p) {
 | 
			
		|||
            char **in;
 | 
			
		||||
            pa_bool_t duplicate = FALSE;
 | 
			
		||||
 | 
			
		||||
            for (in = p->input_mapping_names; *in; in++)
 | 
			
		||||
            for (in = name + 1; *in; in++)
 | 
			
		||||
                if (pa_streq(*name, *in)) {
 | 
			
		||||
                    duplicate = TRUE;
 | 
			
		||||
                    break;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue