aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/coreaudio.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/coreaudio.cpp
parentc8bbd75bf9a6f0170ec95b130b3eb17cd8cdd5ad (diff)
Remove the UNUSED macro
Diffstat (limited to 'Alc/backends/coreaudio.cpp')
-rw-r--r--Alc/backends/coreaudio.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/Alc/backends/coreaudio.cpp b/Alc/backends/coreaudio.cpp
index a776cb9e..c6978505 100644
--- a/Alc/backends/coreaudio.cpp
+++ b/Alc/backends/coreaudio.cpp
@@ -81,9 +81,8 @@ OSStatus CoreAudioPlayback::MixerProcC(void *inRefCon,
inBusNumber, inNumberFrames, ioData);
}
-OSStatus CoreAudioPlayback::MixerProc(AudioUnitRenderActionFlags* UNUSED(ioActionFlags),
- const AudioTimeStamp* UNUSED(inTimeStamp), UInt32 UNUSED(inBusNumber),
- UInt32 UNUSED(inNumberFrames), AudioBufferList *ioData)
+OSStatus CoreAudioPlayback::MixerProc(AudioUnitRenderActionFlags*,
+ const AudioTimeStamp*, UInt32, UInt32, AudioBufferList *ioData)
{
lock();
aluMixData(mDevice, ioData->mBuffers[0].mData, ioData->mBuffers[0].mDataByteSize/mFrameSize);
@@ -347,9 +346,9 @@ OSStatus CoreAudioCapture::RecordProcC(void *inRefCon,
inBusNumber, inNumberFrames, ioData);
}
-OSStatus CoreAudioCapture::RecordProc(AudioUnitRenderActionFlags* UNUSED(ioActionFlags),
- const AudioTimeStamp *inTimeStamp, UInt32 UNUSED(inBusNumber), UInt32 inNumberFrames,
- AudioBufferList* UNUSED(ioData))
+OSStatus CoreAudioCapture::RecordProc(AudioUnitRenderActionFlags*,
+ const AudioTimeStamp *inTimeStamp, UInt32, UInt32 inNumberFrames,
+ AudioBufferList*)
{
AudioUnitRenderActionFlags flags = 0;
union {