mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	Revert "make sure we always read in all properties"
This reverts commit1c8f968282. Turns out doing this is racy. The appropriate fix seems to be38825d7912
This commit is contained in:
		
							parent
							
								
									29a282a41b
								
							
						
					
					
						commit
						ff7033c11d
					
				
					 1 changed files with 0 additions and 9 deletions
				
			
		| 
						 | 
					@ -418,15 +418,6 @@ static void found_device(pa_bluetooth_discovery *y, const char* path) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    pa_assert_se(m = dbus_message_new_method_call("org.bluez", path, "org.bluez.Device", "GetProperties"));
 | 
					    pa_assert_se(m = dbus_message_new_method_call("org.bluez", path, "org.bluez.Device", "GetProperties"));
 | 
				
			||||||
    send_and_add_to_pending(y, d, m, get_properties_reply);
 | 
					    send_and_add_to_pending(y, d, m, get_properties_reply);
 | 
				
			||||||
 | 
					 | 
				
			||||||
    pa_assert_se(m = dbus_message_new_method_call("org.bluez", path, "org.bluez.Audio", "GetProperties"));
 | 
					 | 
				
			||||||
    send_and_add_to_pending(y, d, m, get_properties_reply);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    pa_assert_se(m = dbus_message_new_method_call("org.bluez", path, "org.bluez.Headset", "GetProperties"));
 | 
					 | 
				
			||||||
    send_and_add_to_pending(y, d, m, get_properties_reply);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    pa_assert_se(m = dbus_message_new_method_call("org.bluez", path, "org.bluez.AudioSink", "GetProperties"));
 | 
					 | 
				
			||||||
    send_and_add_to_pending(y, d, m, get_properties_reply);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void list_devices_reply(DBusPendingCall *pending, void *userdata) {
 | 
					static void list_devices_reply(DBusPendingCall *pending, void *userdata) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue