mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	bluez5: Update default sync_factor
Due to the how the kernel part of BlueZ computes the extended advertising interval for a Broadcast Source, a sync_factor smaller than 2 will result in an invalid interval value (too small).
This commit is contained in:
		
							parent
							
								
									d0d7e87588
								
							
						
					
					
						commit
						ba17264bdb
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -5310,7 +5310,8 @@ static void configure_bis(struct spa_bt_monitor *monitor,
 | 
				
			||||||
	int options = 0;
 | 
						int options = 0;
 | 
				
			||||||
	int skip = 0;
 | 
						int skip = 0;
 | 
				
			||||||
	int sync_cte_type = 0;
 | 
						int sync_cte_type = 0;
 | 
				
			||||||
	int sync_factor = 1;
 | 
						/* sync_factor should be >=2 to avoid invalid extended advertising interval value */
 | 
				
			||||||
 | 
						int sync_factor = 2;
 | 
				
			||||||
	int sync_timeout = 2000;
 | 
						int sync_timeout = 2000;
 | 
				
			||||||
	int timeout = 2000;
 | 
						int timeout = 2000;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue