From 63a83cdf7a43a35c15c0556733ab43e4372e3a9e Mon Sep 17 00:00:00 2001 From: Michael Rogers Date: Mon, 11 Apr 2022 19:02:47 -0500 Subject: [PATCH] Fix formatting --- sunshine/audio.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sunshine/audio.cpp b/sunshine/audio.cpp index 3cc0e5e0..2894d128 100644 --- a/sunshine/audio.cpp +++ b/sunshine/audio.cpp @@ -135,14 +135,15 @@ void capture(safe::mail_t mail, config_t config, void *channel_data) { return; } - // Order of priorty: + // Order of priorty: // 1. Config // 2. Virtual if available // 3. Host std::string *sink = &ref->sink.host; if(!config::audio.sink.empty()) { sink = &config::audio.sink; - } else if(ref->sink.null) { + } + else if(ref->sink.null) { auto &null = *ref->sink.null; switch(stream->channelCount) { case 2: