43 int device = 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_;
void start(void)
Start the audio output stream.
The STK namespace.
Definition: ADSR.h:6
STK audio output abstract base class.
Definition: WvOut.h:22
void stop(void)
Stop the audio output stream.
static StkFloat sampleRate(void)
Static method that returns the current STK sample rate.
Definition: Stk.h:145
STK realtime audio (blocking) output class.
Definition: RtWvOut.h:30
STK mutex class.
Definition: Mutex.h:36
An STK class to handle vectorized audio data.
Definition: Stk.h:275
void tick(const StkFloat sample)
Output a single sample to all channels in a sample frame.
RtWvOut(unsigned int nChannels=1, StkFloat sampleRate=Stk::sampleRate(), int device=0, int bufferFrames=RT_BUFFER_SIZE, int nBuffers=20)
Default constructor.
~RtWvOut()
Class destructor.