fixed some (mostly Windows) warnings

This commit is contained in:
Martin Pulec
2022-02-01 11:52:09 +01:00
parent dbd7332b4c
commit cec2f43b32
14 changed files with 50 additions and 36 deletions

View File

@@ -403,6 +403,9 @@ bool audio_frame2::resample([[maybe_unused]] audio_frame2_resampler & resampler_
channels = move(new_channels);
return true;
#else
UNUSED(resampler_state.resample_from);
UNUSED(resampler_state.resample_to);
UNUSED(resampler_state.resample_ch_count);
LOG(LOG_LEVEL_ERROR) << "Audio frame resampler: cannot resample, SpeexDSP was not compiled in!\n";
return false;
#endif