summaryrefslogtreecommitdiff
path: root/src/sound_asset.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-01-05 01:24:19 +0000
committerCarl Hetherington <cth@carlh.net>2016-01-05 01:24:19 +0000
commit5ee3348142f4cfafdbcf2c9c833843d717affc11 (patch)
tree1c97c80eeccc6b5f515a611e35dee35b21d3b09b /src/sound_asset.h
parent740938890d95e853cf13d4780a5d674c3d6c7f6f (diff)
Various IMF hacks.imf
Diffstat (limited to 'src/sound_asset.h')
-rw-r--r--src/sound_asset.h3
1 files changed, 2 insertions, 1 deletions
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<SoundAssetWriter> 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
};