mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	alsa: properly count mappings of manually defined profiles
This commit is contained in:
		
							parent
							
								
									b5cea8d590
								
							
						
					
					
						commit
						60df970bd9
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
					@ -2945,6 +2945,9 @@ static int profile_verify(pa_alsa_profile *p) {
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            pa_idxset_put(p->output_mappings, m, NULL);
 | 
					            pa_idxset_put(p->output_mappings, m, NULL);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            if (p->supported)
 | 
				
			||||||
 | 
					                m->supported++;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        pa_xstrfreev(p->output_mapping_names);
 | 
					        pa_xstrfreev(p->output_mapping_names);
 | 
				
			||||||
| 
						 | 
					@ -2978,6 +2981,9 @@ static int profile_verify(pa_alsa_profile *p) {
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            pa_idxset_put(p->input_mappings, m, NULL);
 | 
					            pa_idxset_put(p->input_mappings, m, NULL);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            if (p->supported)
 | 
				
			||||||
 | 
					                m->supported++;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        pa_xstrfreev(p->input_mapping_names);
 | 
					        pa_xstrfreev(p->input_mapping_names);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue