diff --git a/src/aaudio/AudioStreamAAudio.cpp b/src/aaudio/AudioStreamAAudio.cpp index affbd7176..932878eed 100644 --- a/src/aaudio/AudioStreamAAudio.cpp +++ b/src/aaudio/AudioStreamAAudio.cpp @@ -344,7 +344,7 @@ Result AudioStreamAAudio::close() { } } -DataCallbackResult AudioStreamAAudio::callOnAudioReady(AAudioStream *stream, +DataCallbackResult AudioStreamAAudio::callOnAudioReady(AAudioStream * /*stream*/, void *audioData, int32_t numFrames) { DataCallbackResult result = fireDataCallback(audioData, numFrames); diff --git a/src/common/FilterAudioStream.h b/src/common/FilterAudioStream.h index 5d99162bb..2f50e3ec8 100644 --- a/src/common/FilterAudioStream.h +++ b/src/common/FilterAudioStream.h @@ -182,20 +182,20 @@ class FilterAudioStream : public AudioStream, AudioStreamCallback { void *audioData, int32_t numFrames) override; - bool onError(AudioStream * audioStream, Result error) override { + bool onError(AudioStream * /*audioStream*/, Result error) override { if (mErrorCallback != nullptr) { return mErrorCallback->onError(this, error); } return false; } - void onErrorBeforeClose(AudioStream *oboeStream, Result error) override { + void onErrorBeforeClose(AudioStream * /*oboeStream*/, Result error) override { if (mErrorCallback != nullptr) { mErrorCallback->onErrorBeforeClose(this, error); } } - void onErrorAfterClose(AudioStream *oboeStream, Result error) override { + void onErrorAfterClose(AudioStream * /*oboeStream*/, Result error) override { // Close this parent stream because the callback will only close the child. AudioStream::close(); if (mErrorCallback != nullptr) { diff --git a/src/flowgraph/ManyToMultiConverter.h b/src/flowgraph/ManyToMultiConverter.h index c60e0704b..21a95df5f 100644 --- a/src/flowgraph/ManyToMultiConverter.h +++ b/src/flowgraph/ManyToMultiConverter.h @@ -37,7 +37,7 @@ class ManyToMultiConverter : public flowgraph::FlowGraphNode { int32_t onProcess(int numFrames) override; - void setEnabled(bool enabled) {} + void setEnabled(bool /*enabled*/) {} std::vector> inputs; flowgraph::FlowGraphPortFloatOutput output;