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