mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	alsa-seq: close seq device
When we unload, close the seq device again so that the source is removed from the main loop.
This commit is contained in:
		
							parent
							
								
									8acae9db7d
								
							
						
					
					
						commit
						3131acea46
					
				
					 2 changed files with 18 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -815,6 +815,13 @@ static int impl_get_interface(struct spa_handle *handle, uint32_t type, void **i
 | 
			
		|||
 | 
			
		||||
static int impl_clear(struct spa_handle *handle)
 | 
			
		||||
{
 | 
			
		||||
	struct seq_state *this;
 | 
			
		||||
 | 
			
		||||
	spa_return_val_if_fail(handle != NULL, -EINVAL);
 | 
			
		||||
 | 
			
		||||
	this = (struct seq_state *) handle;
 | 
			
		||||
 | 
			
		||||
	spa_alsa_seq_close(this);
 | 
			
		||||
	return 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue