diff options
Diffstat (limited to 'src/sound_frame.h')
| -rw-r--r-- | src/sound_frame.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/sound_frame.h b/src/sound_frame.h index 4fdc39e5..742864a8 100644 --- a/src/sound_frame.h +++ b/src/sound_frame.h @@ -32,6 +32,7 @@ namespace ASDCP { namespace PCM { class FrameBuffer; + class MXFReader; } class AESDecContext; } @@ -44,13 +45,16 @@ namespace dcp { class SoundFrame : public boost::noncopyable { public: - SoundFrame (boost::filesystem::path path, int n, ASDCP::AESDecContext *); ~SoundFrame (); uint8_t const * data () const; int size () const; private: + friend class SoundAssetReader; + + SoundFrame (ASDCP::PCM::MXFReader* reader, int n, ASDCP::AESDecContext *); + /** a buffer to hold the frame */ ASDCP::PCM::FrameBuffer* _buffer; }; |
