mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	bluez5: bump up HFP codec switch timeouts
It appears some headsets (eg. Air 1 Plus) can take some tens of seconds before replying with AT+BCS switch to CVSD.
This commit is contained in:
		
							parent
							
								
									03f069c35b
								
							
						
					
					
						commit
						55ce3d48c9
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -56,8 +56,8 @@ static struct spa_log_topic log_topic = SPA_LOG_TOPIC(0, "spa.bluez5.native");
 | 
			
		|||
 | 
			
		||||
#define PROP_KEY_HEADSET_ROLES "bluez5.headset-roles"
 | 
			
		||||
 | 
			
		||||
#define HFP_CODEC_SWITCH_INITIAL_TIMEOUT_MSEC 2000
 | 
			
		||||
#define HFP_CODEC_SWITCH_TIMEOUT_MSEC 5000
 | 
			
		||||
#define HFP_CODEC_SWITCH_INITIAL_TIMEOUT_MSEC 5000
 | 
			
		||||
#define HFP_CODEC_SWITCH_TIMEOUT_MSEC 20000
 | 
			
		||||
 | 
			
		||||
enum {
 | 
			
		||||
	HFP_AG_INITIAL_CODEC_SETUP_NONE = 0,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue