summaryrefslogtreecommitdiff
path: root/src/sound_asset.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-03-01 19:44:25 +0100
committerCarl Hetherington <cth@carlh.net>2023-03-01 19:44:25 +0100
commitc76095e572fdf85e42db834c9bdb84f2bdb6fee3 (patch)
treee5187fd74d47ffa08d6836e769399e67a036751e /src/sound_asset.cc
parentb3787f9db738723bdb15a2a86feeb84f1b6d593c (diff)
Add include_mca_subdescriptors flag to SoundAsset writer.v1.8.64
Diffstat (limited to 'src/sound_asset.cc')
-rw-r--r--src/sound_asset.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sound_asset.cc b/src/sound_asset.cc
index e24aced2..e3b8e382 100644
--- a/src/sound_asset.cc
+++ b/src/sound_asset.cc
@@ -220,13 +220,13 @@ SoundAsset::equals (shared_ptr<const Asset> other, EqualityOptions opt, NoteHand
shared_ptr<SoundAssetWriter>
-SoundAsset::start_write (boost::filesystem::path file, bool atmos_sync)
+SoundAsset::start_write(boost::filesystem::path file, bool atmos_sync, bool include_mca_subdescriptors)
{
if (atmos_sync && _channels < 14) {
throw MiscError ("Insufficient channels to write ATMOS sync (there must be at least 14)");
}
- return shared_ptr<SoundAssetWriter> (new SoundAssetWriter(this, file, atmos_sync));
+ return shared_ptr<SoundAssetWriter>(new SoundAssetWriter(this, file, atmos_sync, include_mca_subdescriptors));
}