Mercurial > hg > sonic-visualiser
diff audioio/AudioCallbackPlaySource.h @ 14:085f34c73939
* IntegerTimeStretcher -> PhaseVocoderTimeStretcher (no longer confined to
integer multiples)
author | Chris Cannam |
---|---|
date | Wed, 13 Sep 2006 11:06:28 +0000 |
parents | ee967635c728 |
children | cc566264c935 |
line wrap: on
line diff
--- a/audioio/AudioCallbackPlaySource.h Tue Sep 12 19:13:12 2006 +0000 +++ b/audioio/AudioCallbackPlaySource.h Wed Sep 13 11:06:28 2006 +0000 @@ -35,7 +35,7 @@ class ViewManager; class AudioGenerator; class PlayParameters; -class IntegerTimeStretcher; +class PhaseVocoderTimeStretcher; /** * AudioCallbackPlaySource manages audio data supply to callback-based @@ -251,7 +251,7 @@ ~TimeStretcherData(); float getFactor() const { return m_factor; } - IntegerTimeStretcher *getStretcher(size_t channel); + PhaseVocoderTimeStretcher *getStretcher(size_t channel); float *getOutputBuffer(size_t channel); float *getInputBuffer(); @@ -261,7 +261,7 @@ TimeStretcherData(const TimeStretcherData &); // not provided TimeStretcherData &operator=(const TimeStretcherData &); // not provided - typedef std::pair<IntegerTimeStretcher *, float *> StretcherBuffer; + typedef std::pair<PhaseVocoderTimeStretcher *, float *> StretcherBuffer; std::map<size_t, StretcherBuffer> m_stretcher; float *m_stretchInputBuffer; float m_factor;