mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	bluetooth: Add hook to announce late UUIDs
UUIDs might be announced at any time, so a hook is needed to notify any interested module. In practice, the UUIDs are quite stable with the exception of the pairing procedure, where the UUIDs are reported by BlueZ as soon as they are discovered.
This commit is contained in:
		
							parent
							
								
									a9c3f2fb0f
								
							
						
					
					
						commit
						d0be10191e
					
				
					 2 changed files with 9 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -94,6 +94,7 @@ typedef enum pa_bt_audio_state {
 | 
			
		|||
/* Hook data: pa_bluetooth_device pointer. */
 | 
			
		||||
typedef enum pa_bluetooth_device_hook {
 | 
			
		||||
    PA_BLUETOOTH_DEVICE_HOOK_REMOVED, /* Call data: NULL. */
 | 
			
		||||
    PA_BLUETOOTH_DEVICE_HOOK_UUID_ADDED, /* Call data: const char *uuid. */
 | 
			
		||||
    PA_BLUETOOTH_DEVICE_HOOK_MAX
 | 
			
		||||
} pa_bluetooth_device_hook_t;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue