virtual short Read()
virtual short Write()
virtual char* ErrorMessage()
This method constructs an object of the SndBuffer class. Construction parameters are:
short channels: number of input/output channels
int buffsize: size of memory buffer, set by default to the same size of
the DSP vector, but does not necessarily need to be of that size (but
it will help if it is an integer multiple of the vector size).
SndObj** inputlist: list of input SndObj/SndObj
-derived objects, one for each output channel.
Reads the buffer and outputs a new signal vector to the processing chain every time it is called. Should be used in conjunction with at least one SndIn object. Calls to Read() will block if no samples are currently present in the buffer. Successive calls to Write() will fill the buffer with new samples.
Writes a new signal vector to the buffer every time it is called. Calls to Write() will block if the buffer is full. Successive calls to Read() will empty the buffer.
SndObj Library version 2.0
© Victor Lazzarini, 2001
Music Technology Laboratory
NUI Maynooth