Remove redundent code
This commit is contained in:
@@ -213,11 +213,9 @@ public:
|
|||||||
std::copy_n(std::begin(sample_buf), sample_size, std::begin(sample_in));
|
std::copy_n(std::begin(sample_buf), sample_size, std::begin(sample_in));
|
||||||
break;
|
break;
|
||||||
case 6:
|
case 6:
|
||||||
if(format->name == "Surround 5.1"sv) {
|
surround51_to_stereo(sample_in, sample_buf);
|
||||||
surround51_to_stereo(sample_in, sample_buf);
|
break;
|
||||||
break;
|
default:
|
||||||
}
|
|
||||||
|
|
||||||
BOOST_LOG(error) << '[' << format->name << "] not yet supported"sv;
|
BOOST_LOG(error) << '[' << format->name << "] not yet supported"sv;
|
||||||
return capture_e::error;
|
return capture_e::error;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user