* @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,
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.
* @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 (
boost::signals2::signal<void (float)>* progress,
int fps,
int length,
+ int start_frame,
int channels
);
/** Number of channels in the asset */
int _channels;
int _sampling_rate;
+ int _start_frame;
};
}