summaryrefslogtreecommitdiff
path: root/src/sound_asset.h
diff options
context:
space:
mode:
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
};