mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	Don't enumerate invalid profile
This commit is contained in:
		
							parent
							
								
									f03a7e43db
								
							
						
					
					
						commit
						c560aea4c9
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
					@ -880,6 +880,7 @@ int pa_alsa_probe_profiles(
 | 
				
			||||||
            if (pcm_j)
 | 
					            if (pcm_j)
 | 
				
			||||||
                snd_pcm_close(pcm_j);
 | 
					                snd_pcm_close(pcm_j);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            if (i->alsa_name || j->alsa_name)
 | 
				
			||||||
                cb(i->alsa_name ? i : NULL,
 | 
					                cb(i->alsa_name ? i : NULL,
 | 
				
			||||||
                   j->alsa_name ? j : NULL, userdata);
 | 
					                   j->alsa_name ? j : NULL, userdata);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue