Convert mastering.c to C++

This commit is contained in:
Chris Robinson 2018-11-17 07:40:10 -08:00
parent 6e6a024058
commit ff4219e54e
2 changed files with 2 additions and 2 deletions

View File

@ -447,7 +447,7 @@ Compressor* CompressorInit(const ALsizei NumChans, const ALuint SampleRate,
size += sizeof(*Comp->Hold);
}
Comp = al_calloc(16, size);
Comp = static_cast<Compressor*>(al_calloc(16, size));
Comp->NumChans = NumChans;
Comp->SampleRate = SampleRate;
Comp->Auto.Knee = AutoKnee;

View File

@ -804,7 +804,7 @@ SET(ALC_OBJS
Alc/converter.h
Alc/inldefs.c
Alc/inprogext.h
Alc/mastering.c
Alc/mastering.cpp
Alc/mastering.h
Alc/ringbuffer.c
Alc/ringbuffer.h