Remove redundent code

This commit is contained in:
loki 2021-05-15 17:01:03 +02:00
parent 33a330fd6c
commit a6c1649493

View File

@ -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;
}