mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	bluetooth: improve dbus logging
This commit is contained in:
		
							parent
							
								
									323f0ad403
								
							
						
					
					
						commit
						edf5f5be6b
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -293,9 +293,10 @@ static int parse_audio_property(pa_bluetooth_discovery *u, int *state, DBusMessa
 | 
			
		|||
            const char *value;
 | 
			
		||||
            dbus_message_iter_get_basic(&variant_i, &value);
 | 
			
		||||
 | 
			
		||||
            if (pa_streq(key, "State"))
 | 
			
		||||
            if (pa_streq(key, "State")) {
 | 
			
		||||
                *state = pa_bt_audio_state_from_string(value);
 | 
			
		||||
/*             pa_log_debug("Value %s", value); */
 | 
			
		||||
                pa_log_debug("dbus: property 'State' changed to value '%s'", value);
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            break;
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue