mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	jack: always emit buffer frames after activate
This seems to be what JACK2 does as well.
This commit is contained in:
		
							parent
							
								
									c8c2f5902c
								
							
						
					
					
						commit
						42b23bddc3
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -4152,6 +4152,9 @@ int jack_activate (jack_client_t *client)
 | 
				
			||||||
	pw_thread_loop_lock(c->context.loop);
 | 
						pw_thread_loop_lock(c->context.loop);
 | 
				
			||||||
	freeze_callbacks(c);
 | 
						freeze_callbacks(c);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						/* reemit buffer_frames */
 | 
				
			||||||
 | 
						c->buffer_frames = 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	pw_data_loop_start(c->loop);
 | 
						pw_data_loop_start(c->loop);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if ((res = do_activate(c)) < 0)
 | 
						if ((res = do_activate(c)) < 0)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue