mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	get rid of old 'Connected' property parsing and make sure we don't execute two case branches
This commit is contained in:
		
							parent
							
								
									91355a1ce5
								
							
						
					
					
						commit
						66b80e9ecd
					
				
					 1 changed files with 0 additions and 11 deletions
				
			
		| 
						 | 
				
			
			@ -290,17 +290,6 @@ static int parse_audio_property(pa_bluetooth_discovery *u, int *state, DBusMessa
 | 
			
		|||
            if (pa_streq(key, "State"))
 | 
			
		||||
                *state = pa_bt_audio_state_from_string(value);
 | 
			
		||||
/*             pa_log_debug("Value %s", value); */
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        case DBUS_TYPE_BOOLEAN: {
 | 
			
		||||
 | 
			
		||||
            dbus_bool_t value;
 | 
			
		||||
            dbus_message_iter_get_basic(&variant_i, &value);
 | 
			
		||||
 | 
			
		||||
            /* if (pa_streq(key, "Connected")) */
 | 
			
		||||
            /*     *connected = !!value; */
 | 
			
		||||
 | 
			
		||||
/*             pa_log_debug("Value %s", pa_yes_no(value)); */
 | 
			
		||||
 | 
			
		||||
            break;
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue