From c76095e572fdf85e42db834c9bdb84f2bdb6fee3 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 1 Mar 2023 19:44:25 +0100 Subject: Add include_mca_subdescriptors flag to SoundAsset writer. --- src/sound_asset.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sound_asset.cc') 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 other, EqualityOptions opt, NoteHand shared_ptr -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 (new SoundAssetWriter(this, file, atmos_sync)); + return shared_ptr(new SoundAssetWriter(this, file, atmos_sync, include_mca_subdescriptors)); } -- cgit v1.2.3