 
    
   
Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   FAQ   Tutorial
   43           int device = 0, 
int bufferFrames = RT_BUFFER_SIZE, 
int nBuffers = 20 );
 
   72   StkFloat 
lastOut( 
unsigned int channel = 0 );
 
   84   StkFloat 
tick( 
unsigned int channel = 0 );
 
   99   void fillBuffer( 
void *buffer, 
unsigned int nFrames );
 
  106   unsigned int readIndex_;
 
  107   unsigned int writeIndex_;
 
  108   unsigned int framesFilled_;
 
  114 #if defined(_STK_DEBUG_) 
  115   if ( channel >= data_.
channels() ) {
 
  116     oStream_ << 
"RtWvIn::lastOut(): channel argument and audio stream are incompatible!";
 
  121   return lastFrame_[channel];
 
  
StkFloat lastOut(unsigned int channel=0)
Return the specified channel value of the last computed frame.
Definition: RtWvIn.h:112
StkFloat tick(unsigned int channel=0)
Compute a sample frame and return the specified channel value.
static StkFloat sampleRate(void)
Static method that returns the current STK sample rate.
Definition: Stk.h:145
An STK class to handle vectorized audio data.
Definition: Stk.h:275
unsigned int channels(void) const
Return the number of channels represented by the data.
Definition: Stk.h:404
STK mutex class.
Definition: Mutex.h:36
static void handleError(const char *message, StkError::Type type)
Static function for error reporting and handling using c-strings.
RtWvIn(unsigned int nChannels=1, StkFloat sampleRate=Stk::sampleRate(), int device=0, int bufferFrames=RT_BUFFER_SIZE, int nBuffers=20)
Default constructor.
STK realtime audio (blocking) input class.
Definition: RtWvIn.h:31
The STK namespace.
Definition: ADSR.h:6
Realtime audio i/o C++ classes.
Definition: RtAudio.h:279
STK audio input abstract base class.
Definition: WvIn.h:19
void stop(void)
Stop the audio input stream.
void start(void)
Start the audio input stream.
~RtWvIn()
Class destructor.