diff options
Diffstat (limited to 'src/sound_frame.h')
| -rw-r--r-- | src/sound_frame.h | 36 |
1 files changed, 3 insertions, 33 deletions
diff --git a/src/sound_frame.h b/src/sound_frame.h index 3cd3246b..2b78c8e1 100644 --- a/src/sound_frame.h +++ b/src/sound_frame.h @@ -38,42 +38,12 @@ #ifndef LIBDCP_SOUND_FRAME_H #define LIBDCP_SOUND_FRAME_H -#include <boost/noncopyable.hpp> -#include <boost/filesystem.hpp> -#include <stdint.h> -#include <string> - -namespace ASDCP { - namespace PCM { - class FrameBuffer; - class MXFReader; - } - class AESDecContext; -} +#include "frame.h" +#include <asdcp/AS_DCP.h> namespace dcp { -class DecryptionContext; - -/** @class SoundFrame - * @brief One ‘frame’ of sound data from a SoundAsset. - */ -class SoundFrame : public boost::noncopyable -{ -public: - ~SoundFrame (); - - uint8_t const * data () const; - int size () const; - -private: - friend class SoundAssetReader; - - SoundFrame (ASDCP::PCM::MXFReader* reader, int n, boost::shared_ptr<DecryptionContext>); - - /** a buffer to hold the frame */ - ASDCP::PCM::FrameBuffer* _buffer; -}; +typedef Frame<ASDCP::PCM::MXFReader, ASDCP::PCM::FrameBuffer> SoundFrame; } |
