Remove redundent code
This commit is contained in:
parent
33a330fd6c
commit
a6c1649493
1 changed files with 3 additions and 5 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue