mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-10-29 05:40:27 -04:00 
			
		
		
		
	alsa: Free global state
We need to do this or else newly plugged devices might not load.
It does not seem to harm UCM config on my machine, so this reverts
3d372424cc
See #1478
			
			
This commit is contained in:
		
							parent
							
								
									b7162d2c09
								
							
						
					
					
						commit
						0a5a4c046d
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -20,6 +20,8 @@ int spa_alsa_init(struct state *state) | ||||||
| { | { | ||||||
| 	int err; | 	int err; | ||||||
| 
 | 
 | ||||||
|  | 	snd_config_update_free_global(); | ||||||
|  | 
 | ||||||
| 	if (state->open_ucm) { | 	if (state->open_ucm) { | ||||||
| 		char card_name[64]; | 		char card_name[64]; | ||||||
| 		const char *alibpref = NULL; | 		const char *alibpref = NULL; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Wim Taymans
						Wim Taymans