#define DCPOMATIC_AUDIO_BUFFERS_H
#include <boost/shared_ptr.hpp>
+#include <stdint.h>
/** @class AudioBuffers
* @brief A class to hold multi-channel audio data in float format.
float** data () const {
return _data;
}
-
+
float* data (int) const;
int channels () const {
private:
void allocate (int, int);
void deallocate ();
-
+
/** Number of channels */
int _channels;
/** Number of frames (where a frame is one sample across all channels) */