mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	buffers: increase max datas limit
Increase the max amount of buffer datas allowed.
This commit is contained in:
		
							parent
							
								
									a9f12537d1
								
							
						
					
					
						commit
						8205038ffb
					
				
					 4 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
					@ -30,7 +30,7 @@ PW_LOG_TOPIC_EXTERN(mod_topic);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define MAX_BUFFERS	64
 | 
					#define MAX_BUFFERS	64
 | 
				
			||||||
#define MAX_METAS	16u
 | 
					#define MAX_METAS	16u
 | 
				
			||||||
#define MAX_DATAS	64u
 | 
					#define MAX_DATAS	256u
 | 
				
			||||||
#define AREA_SLOT	(sizeof(struct spa_io_async_buffers))
 | 
					#define AREA_SLOT	(sizeof(struct spa_io_async_buffers))
 | 
				
			||||||
#define AREA_SIZE	(4096u / AREA_SLOT)
 | 
					#define AREA_SIZE	(4096u / AREA_SLOT)
 | 
				
			||||||
#define MAX_AREAS	32
 | 
					#define MAX_AREAS	32
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -18,7 +18,7 @@
 | 
				
			||||||
#define MAX_PARAM_INFO	128
 | 
					#define MAX_PARAM_INFO	128
 | 
				
			||||||
#define MAX_BUFFERS	64
 | 
					#define MAX_BUFFERS	64
 | 
				
			||||||
#define MAX_METAS	16u
 | 
					#define MAX_METAS	16u
 | 
				
			||||||
#define MAX_DATAS	64u
 | 
					#define MAX_DATAS	256u
 | 
				
			||||||
 | 
					
 | 
				
			||||||
PW_LOG_TOPIC_EXTERN(mod_topic);
 | 
					PW_LOG_TOPIC_EXTERN(mod_topic);
 | 
				
			||||||
#define PW_LOG_TOPIC_DEFAULT mod_topic
 | 
					#define PW_LOG_TOPIC_DEFAULT mod_topic
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -16,8 +16,8 @@
 | 
				
			||||||
PW_LOG_TOPIC_EXTERN(log_buffers);
 | 
					PW_LOG_TOPIC_EXTERN(log_buffers);
 | 
				
			||||||
#define PW_LOG_TOPIC_DEFAULT log_buffers
 | 
					#define PW_LOG_TOPIC_DEFAULT log_buffers
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define MAX_ALIGN	32
 | 
					#define MAX_ALIGN	32u
 | 
				
			||||||
#define MAX_BLOCKS	64u
 | 
					#define MAX_BLOCKS	256u
 | 
				
			||||||
 | 
					
 | 
				
			||||||
struct port {
 | 
					struct port {
 | 
				
			||||||
	struct spa_node *node;
 | 
						struct spa_node *node;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -26,7 +26,7 @@
 | 
				
			||||||
PW_LOG_TOPIC_EXTERN(log_filter);
 | 
					PW_LOG_TOPIC_EXTERN(log_filter);
 | 
				
			||||||
#define PW_LOG_TOPIC_DEFAULT log_filter
 | 
					#define PW_LOG_TOPIC_DEFAULT log_filter
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define MAX_BUFFERS	64
 | 
					#define MAX_BUFFERS	64u
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define MASK_BUFFERS	(MAX_BUFFERS-1)
 | 
					#define MASK_BUFFERS	(MAX_BUFFERS-1)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue