62 |
} |
} |
63 |
} |
} |
64 |
|
|
65 |
|
#if ARCH_X86 |
66 |
inline static void GetNext4SamplesMonoMMXSSE(sample_t* pSrc, void* Pos, float& Pitch) { |
inline static void GetNext4SamplesMonoMMXSSE(sample_t* pSrc, void* Pos, float& Pitch) { |
67 |
if (INTERPOLATE) Interpolate4StepsMonoMMXSSE(pSrc, Pos, Pitch); |
if (INTERPOLATE) Interpolate4StepsMonoMMXSSE(pSrc, Pos, Pitch); |
68 |
else { // no pitch, so no interpolation necessary |
else { // no pitch, so no interpolation necessary |
130 |
); |
); |
131 |
} |
} |
132 |
} |
} |
133 |
|
#endif // ARCH_X86 |
134 |
|
|
135 |
protected: |
protected: |
136 |
|
|
193 |
return samplePoint; |
return samplePoint; |
194 |
} |
} |
195 |
|
|
196 |
|
#if ARCH_X86 |
197 |
// TODO: no support for cubic interpolation yet |
// TODO: no support for cubic interpolation yet |
198 |
inline static void Interpolate4StepsMonoMMXSSE(sample_t* pSrc, void* Pos, float& Pitch) { |
inline static void Interpolate4StepsMonoMMXSSE(sample_t* pSrc, void* Pos, float& Pitch) { |
199 |
/* calculate playback position of each of the 4 samples by adding the associated pitch */ |
/* calculate playback position of each of the 4 samples by adding the associated pitch */ |
397 |
); |
); |
398 |
} |
} |
399 |
}; |
}; |
400 |
|
#endif // ARCH_X86 |
401 |
|
|
402 |
} // namespace LinuxSampler |
} // namespace LinuxSampler |
403 |
|
|