mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-03-29 13:20:31 +00:00
Fix formatting
This commit is contained in:
parent
bd033f9e15
commit
63a83cdf7a
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user