diff options
author | Chris Robinson <[email protected]> | 2012-09-14 07:01:58 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-09-14 07:01:58 -0700 |
commit | 28086f6cb7f0e5c35a97ba60c8e28969981a8817 (patch) | |
tree | e403589004fd2fcbfd92698dda343913e938bd55 /Alc/ALu.c | |
parent | 45bb010b2801fefb0e154cc6d18c2f7d60d302db (diff) |
Implement an SSE cubic resampler
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -66,13 +66,17 @@ static ResamplerFunc SelectResampler(enum Resampler Resampler, ALuint increment) #endif return Resample_lerp32_C; case CubicResampler: +#ifdef HAVE_SSE + if((CPUCapFlags&CPU_CAP_SSE)) + return Resample_cubic32_SSE; +#endif return Resample_cubic32_C; case ResamplerMax: /* Shouldn't happen */ break; } - return NULL; + return Resample_point32_C; } |