mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	bluez: enable delay reporting for a2dp-source
This allows our a2dp-source (sink endpoint) to report delay to the remote source endpoint. Setting the "Delay" property is already implemented, but by failing to configure DelayReporting, bluez rejects the property change.
This commit is contained in:
		
							parent
							
								
									96d593cc34
								
							
						
					
					
						commit
						d0b3c00d29
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -5017,7 +5017,7 @@ static void append_media_object(DBusMessageIter *iter, const char *endpoint,
 | 
				
			||||||
	append_basic_variant_dict_entry(&dict, "Codec", DBUS_TYPE_BYTE, "y", &codec_id);
 | 
						append_basic_variant_dict_entry(&dict, "Codec", DBUS_TYPE_BYTE, "y", &codec_id);
 | 
				
			||||||
	append_basic_array_variant_dict_entry(&dict, "Capabilities", "ay", "y", DBUS_TYPE_BYTE, caps, caps_size);
 | 
						append_basic_array_variant_dict_entry(&dict, "Capabilities", "ay", "y", DBUS_TYPE_BYTE, caps, caps_size);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (spa_bt_profile_from_uuid(uuid) & SPA_BT_PROFILE_A2DP_SOURCE) {
 | 
						if (spa_bt_profile_from_uuid(uuid) & (SPA_BT_PROFILE_A2DP_SINK | SPA_BT_PROFILE_A2DP_SOURCE)) {
 | 
				
			||||||
		dbus_bool_t delay_reporting = TRUE;
 | 
							dbus_bool_t delay_reporting = TRUE;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		append_basic_variant_dict_entry(&dict, "DelayReporting", DBUS_TYPE_BOOLEAN, "b", &delay_reporting);
 | 
							append_basic_variant_dict_entry(&dict, "DelayReporting", DBUS_TYPE_BOOLEAN, "b", &delay_reporting);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue