aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Wu <85952307+robertwu1@users.noreply.github.com>2024-02-29 15:28:37 -0800
committerGitHub <noreply@github.com>2024-02-29 15:28:37 -0800
commita0e3b6503742882ca0fffa68c29c2b3caf740276 (patch)
tree22c8940027a8a7e33cc2de064d586121cd74a4fd
parent7a0d19fb07b520c2c9896ef0c9a01f7ee832b451 (diff)
downloadoboe-a0e3b6503742882ca0fffa68c29c2b3caf740276.tar.gz
remove unused params (#1971)
-rw-r--r--include/oboe/AudioStream.h2
-rw-r--r--include/oboe/FullDuplexStream.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/oboe/AudioStream.h b/include/oboe/AudioStream.h
index 01b8c976..817099d5 100644
--- a/include/oboe/AudioStream.h
+++ b/include/oboe/AudioStream.h
@@ -629,7 +629,7 @@ protected:
* This may be called internally at the end of a callback.
* @param numFrames passed to the callback
*/
- virtual void endPerformanceHintInCallback(int32_t numFrames) {}
+ virtual void endPerformanceHintInCallback(int32_t /*numFrames*/) {}
/**
* This will be called when the stream is closed just in case performance hints were enabled.
diff --git a/include/oboe/FullDuplexStream.h b/include/oboe/FullDuplexStream.h
index 15d2489a..d3ee3abf 100644
--- a/include/oboe/FullDuplexStream.h
+++ b/include/oboe/FullDuplexStream.h
@@ -177,7 +177,7 @@ public:
*
*/
DataCallbackResult onAudioReady(
- AudioStream *audioStream,
+ AudioStream * /*audioStream*/,
void *audioData,
int numFrames) {
DataCallbackResult callbackResult = DataCallbackResult::Continue;