mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	bluetooth: Remove pa_bluetooth_discovery_sync().
pa_bluetooth_discovery_sync() waited until all pending method calls had completed. I don't understand what the benefit of that could be, so I removed the function. We should avoid blocking as much as possible, and the code that used pa_bluetooth_discovery_sync() didn't look like it really needed to wait for anything.
This commit is contained in:
		
							parent
							
								
									de73a3ed98
								
							
						
					
					
						commit
						baa62fb615
					
				
					 3 changed files with 4 additions and 26 deletions
				
			
		| 
						 | 
				
			
			@ -141,8 +141,6 @@ pa_bluetooth_discovery* pa_bluetooth_discovery_get(pa_core *core);
 | 
			
		|||
pa_bluetooth_discovery* pa_bluetooth_discovery_ref(pa_bluetooth_discovery *y);
 | 
			
		||||
void pa_bluetooth_discovery_unref(pa_bluetooth_discovery *d);
 | 
			
		||||
 | 
			
		||||
void pa_bluetooth_discovery_sync(pa_bluetooth_discovery *d);
 | 
			
		||||
 | 
			
		||||
pa_bluetooth_device* pa_bluetooth_discovery_get_by_path(pa_bluetooth_discovery *d, const char* path);
 | 
			
		||||
pa_bluetooth_device* pa_bluetooth_discovery_get_by_address(pa_bluetooth_discovery *d, const char* address);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue