/[svn]/linuxsampler/trunk/src/engines/common/Resampler.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/common/Resampler.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 320 by schoenebeck, Mon Dec 13 00:53:16 2004 UTC revision 328 by schoenebeck, Sat Dec 25 21:58:58 2004 UTC
# Line 62  namespace LinuxSampler { Line 62  namespace LinuxSampler {
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
# Line 129  namespace LinuxSampler { Line 130  namespace LinuxSampler {
130                      );                      );
131                  }                  }
132              }              }
133    #endif // ARCH_X86
134    
135          protected:          protected:
136    
# Line 191  namespace LinuxSampler { Line 193  namespace LinuxSampler {
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 */
# Line 394  namespace LinuxSampler { Line 397  namespace LinuxSampler {
397                  );                  );
398              }              }
399      };      };
400    #endif // ARCH_X86
401    
402  } // namespace LinuxSampler  } // namespace LinuxSampler
403    

Legend:
Removed from v.320  
changed lines
  Added in v.328

  ViewVC Help
Powered by ViewVC