Fix cppcheck issues

This commit is contained in:
badaix 2023-12-30 11:37:35 +01:00
parent d894cd1853
commit 6e786255e1
11 changed files with 33 additions and 19 deletions

View file

@ -29,7 +29,6 @@ static constexpr auto LOG_TAG = "Resampler";
Resampler::Resampler(const SampleFormat& in_format, const SampleFormat& out_format) : in_format_(in_format), out_format_(out_format)
{
#ifdef HAS_SOXR
soxr_ = nullptr;
if ((out_format_.rate() != in_format_.rate()) || (out_format_.bits() != in_format_.bits()))
{
LOG(INFO, LOG_TAG) << "Resampling from " << in_format_.toString() << " to " << out_format_.toString() << "\n";