diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-01-12 19:26:57 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-01-12 19:26:57 +0000 |
| commit | e412564a57a5898a8f5f49c42bede37e76f0c41c (patch) | |
| tree | d52d6b98f5acb3567360852a36f863c90b8a2d88 /src/sound_asset.h | |
| parent | 41daa5821b3d3b0f450094fbf0d1e37a449f482c (diff) | |
Add simple support for generating audio MXFs from part of a WAV file (for multi-reel DCP generation).
Diffstat (limited to 'src/sound_asset.h')
| -rw-r--r-- | src/sound_asset.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/sound_asset.h b/src/sound_asset.h index 3189c067..9fb1d60b 100644 --- a/src/sound_asset.h +++ b/src/sound_asset.h @@ -44,6 +44,7 @@ public: * @param progress Signal to inform of progress. * @param fps Frames per second. * @param length Length in frames. + * @param start_frame Frame in the source to start writing from. */ SoundAsset ( std::vector<std::string> const & files, @@ -51,7 +52,8 @@ public: std::string mxf_name, boost::signals2::signal<void (float)>* progress, int fps, - int length + int length, + int start_frame ); /** Construct a SoundAsset, generating the MXF from some WAV files. @@ -62,6 +64,7 @@ public: * @param progress Signal to inform of progress. * @param fps Frames per second. * @param length Length in frames. + * @param start_frame Frame in the source to start writing from. * @param channels Number of audio channels. */ SoundAsset ( @@ -71,6 +74,7 @@ public: boost::signals2::signal<void (float)>* progress, int fps, int length, + int start_frame, int channels ); @@ -106,6 +110,7 @@ private: /** Number of channels in the asset */ int _channels; int _sampling_rate; + int _start_frame; }; } |
