aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-01-18 07:19:43 -0800
committerChris Robinson <[email protected]>2017-01-18 07:19:43 -0800
commite8ac0e5bfd659a88538abed66e13e52b40f3ad12 (patch)
treed815e14a5c6351240b241ec83abec63118a0f771
parentd2e5aa79ddc79bccde67d375cffea8f9922ca611 (diff)
Replace some ALvoid with void
-rw-r--r--Alc/ALu.c4
-rw-r--r--Alc/mixer.c2
-rw-r--r--OpenAL32/Include/alu.h6
3 files changed, 6 insertions, 6 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 9b03b85a..67f61f07 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -1392,7 +1392,7 @@ DECL_TEMPLATE(ALbyte, aluF2B)
#undef DECL_TEMPLATE
-ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
+void aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
{
ALuint SamplesToDo;
ALvoice *voice, *voice_end;
@@ -1599,7 +1599,7 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
}
-ALvoid aluHandleDisconnect(ALCdevice *device)
+void aluHandleDisconnect(ALCdevice *device)
{
ALCcontext *Context;
diff --git a/Alc/mixer.c b/Alc/mixer.c
index 58192055..0ee1edd6 100644
--- a/Alc/mixer.c
+++ b/Alc/mixer.c
@@ -381,7 +381,7 @@ static const ALfloat *DoFilters(ALfilterState *lpfilter, ALfilterState *hpfilter
}
-ALvoid MixSource(ALvoice *voice, ALsource *Source, ALCdevice *Device, ALsizei SamplesToDo)
+void MixSource(ALvoice *voice, ALsource *Source, ALCdevice *Device, ALsizei SamplesToDo)
{
ResamplerFunc Resample;
ALbufferlistitem *BufferListItem;
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h
index dba167d4..642fb944 100644
--- a/OpenAL32/Include/alu.h
+++ b/OpenAL32/Include/alu.h
@@ -348,11 +348,11 @@ void ComputeFirstOrderGainsMC(const ChannelConfig *chancoeffs, ALsizei numchans,
void ComputeFirstOrderGainsBF(const BFChannelConfig *chanmap, ALsizei numchans, const ALfloat mtx[4], ALfloat ingain, ALfloat gains[MAX_OUTPUT_CHANNELS]);
-ALvoid MixSource(struct ALvoice *voice, struct ALsource *source, ALCdevice *Device, ALsizei SamplesToDo);
+void MixSource(struct ALvoice *voice, struct ALsource *Source, ALCdevice *Device, ALsizei SamplesToDo);
-ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size);
+void aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size);
/* Caller must lock the device. */
-ALvoid aluHandleDisconnect(ALCdevice *device);
+void aluHandleDisconnect(ALCdevice *device);
extern ALfloat ConeScale;
extern ALfloat ZScale;