AudioBuffers (boost::shared_ptr<const AudioBuffers>);
~AudioBuffers ();
+ AudioBuffers & operator= (AudioBuffers const &);
+
void ensure_size (int);
float** data () const {
void make_silent ();
void make_silent (int c);
+ void make_silent (int from, int frames);
void copy_from (AudioBuffers const * from, int frames_to_copy, int read_offset, int write_offset);
void move (int from, int to, int frames);
void accumulate_frames (AudioBuffers const *, int read_offset, int write_offset, int frames);
private:
+ void allocate (int, int);
+ void deallocate ();
+
/** Number of channels */
int _channels;
/** Number of frames (where a frame is one sample across all channels) */