summaryrefslogtreecommitdiffstats
path: root/Alc/effects/null.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-11-07 03:43:33 -0800
committerChris Robinson <[email protected]>2014-11-07 03:43:33 -0800
commit3f7cb8392ea8b75754e5292f75fdfe50168ffc8e (patch)
tree16835b1c968d401684e4c73a9eeb386d5df89cfb /Alc/effects/null.c
parent713e9dd4cc5f0bbe396fae35282ec147a45a0974 (diff)
Pas the output device channel count to ALeffectState::process
Diffstat (limited to 'Alc/effects/null.c')
-rw-r--r--Alc/effects/null.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/Alc/effects/null.c b/Alc/effects/null.c
index 6dacd021..adc4ca81 100644
--- a/Alc/effects/null.c
+++ b/Alc/effects/null.c
@@ -41,11 +41,8 @@ static ALvoid ALnullState_update(ALnullState* UNUSED(state), ALCdevice* UNUSED(d
* input to the output buffer. The result should be added to the output buffer,
* not replace it.
*/
-static ALvoid ALnullState_process(ALnullState* UNUSED(state), ALuint UNUSED(samplesToDo), const ALfloat *restrict UNUSED(samplesIn), ALfloat (*restrict samplesOut)[BUFFERSIZE])
+static ALvoid ALnullState_process(ALnullState* UNUSED(state), ALuint UNUSED(samplesToDo), const ALfloat *restrict UNUSED(samplesIn), ALfloatBUFFERSIZE*restrict UNUSED(samplesOut), ALuint UNUSED(NumChannels))
{
- /* NOTE: Couldn't use the UNUSED macro on samplesOut due to the way GCC's
- * __attribute__ declaration interacts with the parenthesis. */
- (void)samplesOut;
}
/* This allocates memory to store the object, before it gets constructed.