summaryrefslogtreecommitdiff
path: root/src/sound_asset.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-01-14 20:15:43 +0000
committerCarl Hetherington <cth@carlh.net>2013-01-14 20:15:43 +0000
commited6a471b61d36a3ba7e8696fa3e5606406c5cf62 (patch)
tree3ca098925eb269c4cd41ff22124773ba7d36c14b /src/sound_asset.h
parent67cf9c95d190b1f2a67d73c0a7f712e213b6e71a (diff)
parent62ee85a258aa9329544d8542dfbcc40ce8177a7a (diff)
Merge master
Diffstat (limited to 'src/sound_asset.h')
-rw-r--r--src/sound_asset.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sound_asset.h b/src/sound_asset.h
index 67115606..2b925641 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.
* @param encrypted true if asset should be encrypted.
*/
SoundAsset (
@@ -53,6 +54,7 @@ public:
boost::signals2::signal<void (float)>* progress,
int fps,
int length,
+ int start_frame
bool encrypted
);
@@ -64,6 +66,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.
* @param encrypted true if asset should be encrypted.
*/
@@ -74,6 +77,7 @@ public:
boost::signals2::signal<void (float)>* progress,
int fps,
int length,
+ int start_frame,
int channels,
bool encrypted
);
@@ -112,6 +116,7 @@ private:
/** Number of channels in the asset */
int _channels;
int _sampling_rate;
+ int _start_frame;
};
}