mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	buffer: add GenericFd memory type
Add a Generic fd type. These could be eventfd or timerfd, the meaning can depend on extra metadata.
This commit is contained in:
		
							parent
							
								
									77f3b7f6e4
								
							
						
					
					
						commit
						f3fe20bdde
					
				
					 4 changed files with 15 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -855,6 +855,7 @@ do_port_use_buffers(struct impl *impl,
 | 
			
		|||
			switch (d->type) {
 | 
			
		||||
			case SPA_DATA_DmaBuf:
 | 
			
		||||
			case SPA_DATA_MemFd:
 | 
			
		||||
			case SPA_DATA_GenericFd:
 | 
			
		||||
			{
 | 
			
		||||
				uint32_t flags = PW_MEMBLOCK_FLAG_DONT_CLOSE;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue