mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-03-16 22:20:52 +00:00
Remove redundent code
This commit is contained in:
parent
33a330fd6c
commit
a6c1649493
@ -213,11 +213,9 @@ public:
|
||||
std::copy_n(std::begin(sample_buf), sample_size, std::begin(sample_in));
|
||||
break;
|
||||
case 6:
|
||||
if(format->name == "Surround 5.1"sv) {
|
||||
surround51_to_stereo(sample_in, sample_buf);
|
||||
break;
|
||||
}
|
||||
|
||||
surround51_to_stereo(sample_in, sample_buf);
|
||||
break;
|
||||
default:
|
||||
BOOST_LOG(error) << '[' << format->name << "] not yet supported"sv;
|
||||
return capture_e::error;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user