mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	alsa: don't free alsa global info for each node
Don't clear the global config or else we might lose the UCM state. See #1437
This commit is contained in:
		
							parent
							
								
									08e34a99fd
								
							
						
					
					
						commit
						3d372424cc
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		| 
						 | 
					@ -20,8 +20,6 @@ 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