mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-30 14:49:58 +02:00
Fix cppcheck issues
This commit is contained in:
parent
d894cd1853
commit
6e786255e1
11 changed files with 33 additions and 19 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue