* @param progress Signal to inform of progress.
* @param fps Frames per second.
* @param length Length in frames.
+ * @param encrypted true if asset should be encrypted.
*/
SoundAsset (
std::vector<std::string> const & files,
std::string directory,
std::string mxf_name,
- sigc::signal1<void, float>* progress,
+ boost::signals2::signal<void (float)>* progress,
int fps,
- int length
+ int length,
+ bool encrypted
);
/** Construct a SoundAsset, generating the MXF from some WAV files.
* @param fps Frames per second.
* @param length Length in frames.
* @param channels Number of audio channels.
+ * @param encrypted true if asset should be encrypted.
*/
SoundAsset (
- sigc::slot<std::string, Channel> get_path,
+ boost::function<std::string (Channel)> get_path,
std::string directory,
std::string mxf_name,
- sigc::signal1<void, float>* progress,
+ boost::signals2::signal<void (float)>* progress,
int fps,
int length,
- int channels
+ int channels,
+ bool encrypted
);
SoundAsset (
}
private:
- void construct (sigc::slot<std::string, Channel> get_path);
+ void construct (boost::function<std::string (Channel)> get_path);
std::string path_from_channel (Channel channel, std::vector<std::string> const & files);
/** Number of channels in the asset */