diff options
author | Chris Robinson <[email protected]> | 2019-01-23 11:11:41 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-01-23 11:11:41 -0800 |
commit | 23179d0bcdd27d2b5ab5ddf0e38b180e2d6969e6 (patch) | |
tree | f42d1323eada3d1f2a1f9c053eba6d6784a0a1ee /Alc/converter.cpp | |
parent | e332ac852892327d913ce8adfbb85bf30c8ccd24 (diff) |
Use a template declaration for the resampler functions
Diffstat (limited to 'Alc/converter.cpp')
-rw-r--r-- | Alc/converter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/converter.cpp b/Alc/converter.cpp index 3caa2fed..9ec97e23 100644 --- a/Alc/converter.cpp +++ b/Alc/converter.cpp @@ -157,7 +157,7 @@ SampleConverterPtr CreateSampleConverter(DevFmtType srcType, DevFmtType dstType, mind(static_cast<ALdouble>(srcRate)/dstRate*FRACTIONONE + 0.5, MAX_PITCH*FRACTIONONE)); converter->mIncrement = maxi(step, 1); if(converter->mIncrement == FRACTIONONE) - converter->mResample = Resample_copy_C; + converter->mResample = Resample_<CopyTag,CTag>; else { if(resampler == BSinc24Resampler) |