Mercurial > hg > sonic-visualiser
diff audioio/PhaseVocoderTimeStretcher.h @ 26:d88d117e0c34
* Add mono timestretch toggle button; some more work on getting blocksize etc
parameters through to plugins
author | Chris Cannam |
---|---|
date | Mon, 18 Sep 2006 16:43:17 +0000 |
parents | e74f508db18c |
children | 37af203dbd15 |
line wrap: on
line diff
--- a/audioio/PhaseVocoderTimeStretcher.h Fri Sep 15 15:35:06 2006 +0000 +++ b/audioio/PhaseVocoderTimeStretcher.h Mon Sep 18 16:43:17 2006 +0000 @@ -119,6 +119,11 @@ bool getSharpening() const { return m_sharpen; } /** + * Return the number of channels for this time stretcher. + */ + size_t getChannelCount() const { return m_channels; } + + /** * Get the latency added by the time stretcher, in sample frames. * This will be exact if transient sharpening is off, or approximate * if it is on.