- void allocate (int channels, int32_t frames);
- void deallocate ();
-
- /** Number of channels */
- int _channels;
- /** Number of frames (where a frame is one sample across all channels) */
- int32_t _frames;
- /** Number of frames that _data can hold */
- int32_t _allocated_frames;
+ void allocate (int channels, int frames);
+ void update_data_pointers ();
+