summaryrefslogtreecommitdiff
path: root/src/sound_asset_writer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound_asset_writer.h')
-rw-r--r--src/sound_asset_writer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sound_asset_writer.h b/src/sound_asset_writer.h
index 0435b85f..6d8191c7 100644
--- a/src/sound_asset_writer.h
+++ b/src/sound_asset_writer.h
@@ -70,9 +70,11 @@ public:
~SoundAssetWriter();
/** @param data Pointer an array of float pointers, one for each channel.
+ * @param channels Number of channels in data; if this is less than the channels in the asset
+ * the remaining asset channels will be padded with silence.
* @param frames Number of frames i.e. number of floats that are given for each channel.
*/
- void write (float const * const *, int);
+ void write(float const * const * data, int channels, int frames);
bool finalize () override;