aboutsummaryrefslogtreecommitdiffstats
path: root/alc/converter.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-09-13 03:25:13 -0700
committerChris Robinson <[email protected]>2019-09-13 03:25:13 -0700
commitc1690178ec0b020018857ed0b666ff9b16e01c21 (patch)
treec5c30f740ea57cd4e6f3c96bde68237937781cf3 /alc/converter.cpp
parent5f862a5b49412ef2690a271ed240d5a6fc881b37 (diff)
Make the resampler increment unsigned
Diffstat (limited to 'alc/converter.cpp')
-rw-r--r--alc/converter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/converter.cpp b/alc/converter.cpp
index d7a57c12..87a9d275 100644
--- a/alc/converter.cpp
+++ b/alc/converter.cpp
@@ -299,7 +299,7 @@ ALuint SampleConverter::convert(const ALvoid **src, ALuint *srcframes, ALvoid *d
/* Now resample, and store the result in the output buffer. */
const ALfloat *ResampledData{mResample(&mState, SrcData+MAX_RESAMPLE_PADDING,
- DataPosFrac, static_cast<ALint>(increment), {DstData, DstSize})};
+ DataPosFrac, increment, {DstData, DstSize})};
StoreSamples(DstSamples, ResampledData, mChan.size(), mDstType, DstSize);
}