mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	alsa-plugin: _prepare will clear the draining state
Leave the draining state when _prepare is done. See #1467
This commit is contained in:
		
							parent
							
								
									9fee88239a
								
							
						
					
					
						commit
						6ebd589659
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -543,6 +543,8 @@ static int snd_pcm_pipewire_prepare(snd_pcm_ioplug_t *io)
 | 
				
			||||||
done:
 | 
					done:
 | 
				
			||||||
	pw->hw_ptr = 0;
 | 
						pw->hw_ptr = 0;
 | 
				
			||||||
	pw->xrun_detected = false;
 | 
						pw->xrun_detected = false;
 | 
				
			||||||
 | 
						pw->drained = false;
 | 
				
			||||||
 | 
						pw->draining = false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	pw_thread_loop_unlock(pw->main_loop);
 | 
						pw_thread_loop_unlock(pw->main_loop);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue