From 5ee3348142f4cfafdbcf2c9c833843d717affc11 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 5 Jan 2016 01:24:19 +0000 Subject: Various IMF hacks. --- src/sound_asset.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/sound_asset.h') diff --git a/src/sound_asset.h b/src/sound_asset.h index 968f7dde..cf5a3cd2 100644 --- a/src/sound_asset.h +++ b/src/sound_asset.h @@ -40,7 +40,7 @@ class SoundAssetWriter; class SoundAsset : public Asset, public MXF { public: - SoundAsset (boost::filesystem::path file); + SoundAsset (boost::filesystem::path file, AssetType type); SoundAsset (Fraction edit_rate, int sampling_rate, int channels); boost::shared_ptr start_write (boost::filesystem::path file, Standard standard); @@ -81,6 +81,7 @@ private: * content presented may be less than this. */ int64_t _intrinsic_duration; + AssetType _type; int _channels; ///< number of channels int _sampling_rate; ///< sampling rate in Hz }; -- cgit v1.2.3