aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/opensl.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-07-28 17:15:34 -0700
committerChris Robinson <[email protected]>2019-07-28 17:15:34 -0700
commitb4d56d3fdff4243ae2a3fc64934ced2af3187690 (patch)
tree9a9809e2e991037aa5798a05ab7321d143b95e5f /Alc/backends/opensl.cpp
parentc8bbd75bf9a6f0170ec95b130b3eb17cd8cdd5ad (diff)
Remove the UNUSED macro
Diffstat (limited to 'Alc/backends/opensl.cpp')
-rw-r--r--Alc/backends/opensl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/opensl.cpp b/Alc/backends/opensl.cpp
index be483338..452028ea 100644
--- a/Alc/backends/opensl.cpp
+++ b/Alc/backends/opensl.cpp
@@ -198,7 +198,7 @@ OpenSLPlayback::~OpenSLPlayback()
void OpenSLPlayback::processC(SLAndroidSimpleBufferQueueItf bq, void *context)
{ static_cast<OpenSLPlayback*>(context)->process(bq); }
-void OpenSLPlayback::process(SLAndroidSimpleBufferQueueItf UNUSED(bq))
+void OpenSLPlayback::process(SLAndroidSimpleBufferQueueItf)
{
/* A note on the ringbuffer usage: The buffer queue seems to hold on to the
* pointer passed to the Enqueue method, rather than copying the audio.
@@ -650,7 +650,7 @@ OpenSLCapture::~OpenSLCapture()
void OpenSLCapture::processC(SLAndroidSimpleBufferQueueItf bq, void *context)
{ static_cast<OpenSLCapture*>(context)->process(bq); }
-void OpenSLCapture::process(SLAndroidSimpleBufferQueueItf UNUSED(bq))
+void OpenSLCapture::process(SLAndroidSimpleBufferQueueItf)
{
/* A new chunk has been written into the ring buffer, advance it. */
mRing->writeAdvance(1);