Gamma  0.9.5
Generic Synthesis Library
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
AudioIOData Class Reference

Audio data to be sent to callback. More...

#include <AudioIO.h>

Inheritance diagram for AudioIOData:
AudioIO

List of all members.

Public Member Functions

 AudioIOData (void *user)
 Constructor.
bool operator() () const
 Iterate frame counter, returning true while more frames.
int frame () const
 Get current frame number.
float & bus (int chan) const
 Get bus sample at current frame iteration on specified channel.
float & bus (int chan, int frame) const
 Get bus sample at specified channel and frame.
float * busBuffer (int chan=0) const
 Get non-interleaved bus buffer on specified channel.
const float & in (int chan) const
 Get input sample at current frame iteration on specified channel.
const float & in (int chan, int frame) const
 Get input sample at specified channel and frame.
const float * inBuffer (int chan=0) const
 Get non-interleaved input buffer on specified channel.
float & out (int chan) const
 Get output sample at current frame iteration on specified channel.
float & out (int chan, int frame) const
 Get output sample at specified channel and frame.
float * outBuffer (int chan=0) const
 Get non-interleaved output buffer on specified channel.
void sum (float v, int chan) const
 Add value to current output sample on specified channel.
void sum (float v, int ch1, int ch2) const
 Add value to current output sample on specified channels.
float & temp (int frame) const
 Get sample from temporary buffer at specified frame.
float * tempBuffer () const
 Get non-interleaved temporary buffer on specified channel.
void * user () const
 Get pointer to user data.
int channelsIn () const
 Get effective number of input channels.
int channelsOut () const
 Get effective number of output channels.
int channelsBus () const
 Get number of allocated bus channels.
int channelsInDevice () const
 Get number of channels opened on input device.
int channelsOutDevice () const
 Get number of channels opened on output device.
int framesPerBuffer () const
 Get frames/buffer of audio I/O stream.
double framesPerSecond () const
 Get frames/second of audio I/O streams.
double secondsPerBuffer () const
 Get seconds/buffer of audio I/O stream.
double time () const
 Get current stream time in seconds.
double time (int frame) const
 Get current stream time in seconds of frame.
void frame (int v)
 Set frame count for next iteration.
void zeroBus ()
 Zeros all the bus buffers.
void zeroOut ()
 Zeros all the internal output buffers.

Detailed Description

Audio data to be sent to callback.


The documentation for this class was generated from the following files: