diff --git a/src/AudioTools/AudioOutput.h b/src/AudioTools/AudioOutput.h index d513d8f32d..f7522504d9 100644 --- a/src/AudioTools/AudioOutput.h +++ b/src/AudioTools/AudioOutput.h @@ -804,7 +804,7 @@ class Throttle : public AudioOutput { int64_t durationUsEff = micros() - start_time; int64_t durationUsToBe = (sum_samples * 1000000) / info.sample_rate; int64_t waitUs = durationUsToBe - durationUsEff + info.correction_us; - LOGI("wait: %d", waitUs); + LOGI("wait: %d", (int)waitUs); if (waitUs > 0) { delayMicroseconds(waitUs); } diff --git a/src/AudioTools/VolumeStream.h b/src/AudioTools/VolumeStream.h index 875eae5525..8f96807ba1 100644 --- a/src/AudioTools/VolumeStream.h +++ b/src/AudioTools/VolumeStream.h @@ -135,7 +135,7 @@ class VolumeStream : public AudioStream { /// Writes raw PCM audio data, which will be the input for the volume control virtual size_t write(const uint8_t *buffer, size_t size) override { - LOGD("VolumeStream::write: %d", size); + LOGD("VolumeStream::write: %zu", size); if (buffer==nullptr || p_out==nullptr){ LOGE("NPE"); return 0;