Clang Format Applied

This commit is contained in:
Michael Rogers
2022-07-02 19:52:27 -05:00
parent d4a4096bba
commit 62af7d255c
2 changed files with 6 additions and 6 deletions

View File

@@ -163,11 +163,11 @@ void capture(safe::mail_t mail, config_t config, void *channel_data) {
ref->restore_sink = !config.flags[config_t::HOST_AUDIO];
// If the sink is empty (Host has no sink!), definately switch to the virtual.
if (ref->sink.host.empty()) {
if (control->set_sink(*sink)) {
if(ref->sink.host.empty()) {
if(control->set_sink(*sink)) {
return;
}
}
}
// If the client requests audio on the host, don't change the default sink
else if(!config.flags[config_t::HOST_AUDIO] && control->set_sink(*sink)) {
return;