mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	bluetooth: Minor style fix
Else clause should be in the same line as the closing brace.
This commit is contained in:
		
							parent
							
								
									333696ff60
								
							
						
					
					
						commit
						d59275599a
					
				
					 1 changed files with 2 additions and 4 deletions
				
			
		| 
						 | 
					@ -1968,12 +1968,10 @@ static int card_set_profile(pa_card *c, pa_card_profile *new_profile) {
 | 
				
			||||||
    if (device->headset_state < PA_BT_AUDIO_STATE_CONNECTED && *d == PROFILE_HSP) {
 | 
					    if (device->headset_state < PA_BT_AUDIO_STATE_CONNECTED && *d == PROFILE_HSP) {
 | 
				
			||||||
        pa_log_warn("HSP is not connected, refused to switch profile");
 | 
					        pa_log_warn("HSP is not connected, refused to switch profile");
 | 
				
			||||||
        return -PA_ERR_IO;
 | 
					        return -PA_ERR_IO;
 | 
				
			||||||
    }
 | 
					    } else if (device->audio_sink_state < PA_BT_AUDIO_STATE_CONNECTED && *d == PROFILE_A2DP) {
 | 
				
			||||||
    else if (device->audio_sink_state < PA_BT_AUDIO_STATE_CONNECTED && *d == PROFILE_A2DP) {
 | 
					 | 
				
			||||||
        pa_log_warn("A2DP is not connected, refused to switch profile");
 | 
					        pa_log_warn("A2DP is not connected, refused to switch profile");
 | 
				
			||||||
        return -PA_ERR_IO;
 | 
					        return -PA_ERR_IO;
 | 
				
			||||||
    }
 | 
					    } else if (device->hfgw_state < PA_BT_AUDIO_STATE_CONNECTED && *d == PROFILE_HFGW) {
 | 
				
			||||||
    else if (device->hfgw_state < PA_BT_AUDIO_STATE_CONNECTED && *d == PROFILE_HFGW) {
 | 
					 | 
				
			||||||
        pa_log_warn("HandsfreeGateway is not connected, refused to switch profile");
 | 
					        pa_log_warn("HandsfreeGateway is not connected, refused to switch profile");
 | 
				
			||||||
        return -PA_ERR_IO;
 | 
					        return -PA_ERR_IO;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue