43 int deviceIndex = 0,
int bufferFrames = RT_BUFFER_SIZE,
int nBuffers = 20 );
66 void tick(
const StkFloat sample );
80 int readBuffer(
void *buffer,
unsigned int frameCount );
87 unsigned int readIndex_;
88 unsigned int writeIndex_;
Realtime audio i/o C++ classes.
Definition RtAudio.h:268
STK mutex class.
Definition Mutex.h:37
STK realtime audio (blocking) output class.
Definition RtWvOut.h:31
void tick(const StkFrames &frames)
Output the StkFrames data.
void tick(const StkFloat sample)
Output a single sample to all channels in a sample frame.
void start(void)
Start the audio output stream.
void stop(void)
Stop the audio output stream.
~RtWvOut()
Class destructor.
RtWvOut(unsigned int nChannels=1, StkFloat sampleRate=Stk::sampleRate(), int deviceIndex=0, int bufferFrames=RT_BUFFER_SIZE, int nBuffers=20)
Default constructor.
An STK class to handle vectorized audio data.
Definition Stk.h:279
static StkFloat sampleRate(void)
Static method that returns the current STK sample rate.
Definition Stk.h:148
STK audio output abstract base class.
Definition WvOut.h:23
The STK namespace.
Definition ADSR.h:6