Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
STK audio input abstract base class. More...
#include <WvIn.h>
Public Member Functions | |
unsigned int | channelsOut (void) const |
Return the number of audio channels in the data or stream. | |
const StkFrames & | lastFrame (void) const |
Return an StkFrames reference to the last computed sample frame. | |
virtual StkFloat | tick (unsigned int channel=0)=0 |
Compute one sample frame and return the specified channel value. | |
virtual StkFrames & | tick (StkFrames &frames)=0 |
Fill the StkFrames argument with computed frames and return the same reference. |
STK audio input abstract base class.
This class provides common functionality for a variety of audio data input subclasses.
by Perry R. Cook and Gary P. Scavone, 1995 - 2010.
const StkFrames& stk::WvIn::lastFrame | ( | void | ) | const [inline] |
Return an StkFrames reference to the last computed sample frame.
If no file data is loaded, an empty container is returned.
The Synthesis ToolKit in C++ (STK) |
©1995-2010 Perry R. Cook and Gary P. Scavone. All Rights Reserved. |