use ALintptrEXT in alcReverb.c
This commit is contained in:
parent
745d36dc76
commit
e3637b8452
@ -182,7 +182,7 @@ static const ALfloat LATE_LINE_LENGTH[4] =
|
|||||||
static const ALfloat LATE_LINE_MULTIPLIER = 4.0f;
|
static const ALfloat LATE_LINE_MULTIPLIER = 4.0f;
|
||||||
|
|
||||||
// Calculate the length of a delay line and store its mask and offset.
|
// Calculate the length of a delay line and store its mask and offset.
|
||||||
static ALuint CalcLineLength(ALfloat length, ALuint offset, ALuint frequency, DelayLine *Delay)
|
static ALuint CalcLineLength(ALfloat length, ALintptrEXT offset, ALuint frequency, DelayLine *Delay)
|
||||||
{
|
{
|
||||||
ALuint samples;
|
ALuint samples;
|
||||||
|
|
||||||
@ -200,7 +200,7 @@ static ALuint CalcLineLength(ALfloat length, ALuint offset, ALuint frequency, De
|
|||||||
// offset.
|
// offset.
|
||||||
static __inline ALvoid RealizeLineOffset(ALfloat * sampleBuffer, DelayLine *Delay)
|
static __inline ALvoid RealizeLineOffset(ALfloat * sampleBuffer, DelayLine *Delay)
|
||||||
{
|
{
|
||||||
Delay->Line = &sampleBuffer[(ALuint)Delay->Line];
|
Delay->Line = &sampleBuffer[(ALintptrEXT)Delay->Line];
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Calculates the delay line metrics and allocates the shared sample buffer
|
/* Calculates the delay line metrics and allocates the shared sample buffer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user