mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	jack: also call latency callback when buffersize changes
This commit is contained in:
		
							parent
							
								
									10e71264e7
								
							
						
					
					
						commit
						28370fc3cf
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1223,7 +1223,7 @@ static inline int check_buffer_frames(struct client *c, struct spa_io_position *
 | 
			
		|||
	if (SPA_UNLIKELY(buffer_frames != c->buffer_frames)) {
 | 
			
		||||
		pw_log_info("%p: bufferframes old:%d new:%d cb:%p", c,
 | 
			
		||||
				c->buffer_frames, buffer_frames, c->bufsize_callback);
 | 
			
		||||
		if (c->bufsize_callback != NULL) {
 | 
			
		||||
		if (c->bufsize_callback != NULL || c->latency_callback != NULL) {
 | 
			
		||||
			pw_loop_invoke(c->context.l, do_buffer_frames, 0,
 | 
			
		||||
					&buffer_frames, sizeof(buffer_frames), false, c);
 | 
			
		||||
		} else {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue