diff options
author | Chris Robinson <[email protected]> | 2019-07-28 17:15:34 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-07-28 17:15:34 -0700 |
commit | b4d56d3fdff4243ae2a3fc64934ced2af3187690 (patch) | |
tree | 9a9809e2e991037aa5798a05ab7321d143b95e5f /Alc/backends/opensl.cpp | |
parent | c8bbd75bf9a6f0170ec95b130b3eb17cd8cdd5ad (diff) |
Remove the UNUSED macro
Diffstat (limited to 'Alc/backends/opensl.cpp')
-rw-r--r-- | Alc/backends/opensl.cpp | 4 |
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); |