diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-01-21 21:01:59 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-01-21 21:01:59 +0000 |
| commit | c21da9cdd8284e8d36a08bc7976744a3cd74bede (patch) | |
| tree | 7d4f8a67e29e7f416eb8a498a0e2c76be9fe1a10 /src/sound_asset.h | |
| parent | a2c5f0ee3dca60fa3c593a55f9bf7f42f3aa88d4 (diff) | |
Try to remove need for asdcplib includes in libdcp headers.
Diffstat (limited to 'src/sound_asset.h')
| -rw-r--r-- | src/sound_asset.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/sound_asset.h b/src/sound_asset.h index 17767b3a..e13c5028 100644 --- a/src/sound_asset.h +++ b/src/sound_asset.h @@ -24,7 +24,6 @@ * @brief An asset made up of PCM audio data files */ -#include "AS_DCP.h" #include "mxf_asset.h" #include "types.h" @@ -47,16 +46,24 @@ private: friend class SoundAsset; SoundAssetWriter (SoundAsset *); + + /* no copy construction */ + SoundAssetWriter (SoundAssetWriter const &); + SoundAssetWriter& operator= (SoundAssetWriter const &); + void write_current_frame (); + /* do this with an opaque pointer so we don't have to include + ASDCP headers + */ + + struct ASDCPState; + boost::shared_ptr<ASDCPState> _state; + SoundAsset* _asset; bool _finalized; int _frames_written; int _frame_buffer_offset; - ASDCP::PCM::MXFWriter _mxf_writer; - ASDCP::PCM::FrameBuffer _frame_buffer; - ASDCP::WriterInfo _writer_info; - ASDCP::PCM::AudioDescriptor _audio_desc; }; /** @brief An asset made up of WAV files */ |
