mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	spa: add comment about prefetch
This commit is contained in:
		
							parent
							
								
									41dd96426c
								
							
						
					
					
						commit
						20172bfbe6
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
					@ -632,6 +632,12 @@ struct spa_node_methods {
 | 
				
			||||||
	 *
 | 
						 *
 | 
				
			||||||
	 * When the node can accept new input in the next cycle, the
 | 
						 * When the node can accept new input in the next cycle, the
 | 
				
			||||||
	 * SPA_STATUS_NEED_DATA bit will be set.
 | 
						 * SPA_STATUS_NEED_DATA bit will be set.
 | 
				
			||||||
 | 
						 *
 | 
				
			||||||
 | 
						 * Note that the node might return SPA_STATUS_NEED_DATA even when
 | 
				
			||||||
 | 
						 * no input ports have this status. This means that the amount of
 | 
				
			||||||
 | 
						 * data still available on the input ports is likely not going to
 | 
				
			||||||
 | 
						 * be enough for the next cycle and the host might need to prefetch
 | 
				
			||||||
 | 
						 * data for the next cycle.
 | 
				
			||||||
	 */
 | 
						 */
 | 
				
			||||||
	int (*process) (void *object);
 | 
						int (*process) (void *object);
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue