Convert mastering.c to C++
This commit is contained in:
parent
6e6a024058
commit
ff4219e54e
@ -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;
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user