Mercurial > hg > svapp
diff audioio/AudioCallbackPlaySource.h @ 39:4ed2448582cc
* Switch from fftw3 to fftw3f. I think the efficiency improvement is probably
worth the lower precision, although I ought to do a few more tests.
author | Chris Cannam |
---|---|
date | Thu, 15 Jun 2006 12:28:47 +0000 |
parents | 37e3c693af0c |
children |
line wrap: on
line diff
--- a/audioio/AudioCallbackPlaySource.h Fri May 12 14:40:43 2006 +0000 +++ b/audioio/AudioCallbackPlaySource.h Thu Jun 15 12:28:47 2006 +0000 @@ -252,8 +252,8 @@ size_t getFactor() const { return m_factor; } IntegerTimeStretcher *getStretcher(size_t channel); - double *getOutputBuffer(size_t channel); - double *getInputBuffer(); + float *getOutputBuffer(size_t channel); + float *getInputBuffer(); void run(size_t channel); @@ -261,9 +261,9 @@ TimeStretcherData(const TimeStretcherData &); // not provided TimeStretcherData &operator=(const TimeStretcherData &); // not provided - typedef std::pair<IntegerTimeStretcher *, double *> StretcherBuffer; + typedef std::pair<IntegerTimeStretcher *, float *> StretcherBuffer; std::map<size_t, StretcherBuffer> m_stretcher; - double *m_stretchInputBuffer; + float *m_stretchInputBuffer; size_t m_factor; size_t m_blockSize; };