From c047da0a3ee78f8066ef65cdbcd978cdd67fb42e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 21 Mar 2023 00:37:12 +0100 Subject: Allow specification of channels that need a MCASubDescriptor. --- src/sound_asset.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/sound_asset.cc') diff --git a/src/sound_asset.cc b/src/sound_asset.cc index 56d13951..7c94b549 100644 --- a/src/sound_asset.cc +++ b/src/sound_asset.cc @@ -223,6 +223,7 @@ SoundAsset::equals (shared_ptr other, EqualityOptions opt, NoteHand shared_ptr SoundAsset::start_write( boost::filesystem::path file, + vector extra_active_channels, AtmosSync atmos_sync, MCASubDescriptors include_mca_subdescriptors ) @@ -232,7 +233,7 @@ SoundAsset::start_write( } return shared_ptr( - new SoundAssetWriter(this, file, atmos_sync == AtmosSync::ENABLED, include_mca_subdescriptors == MCASubDescriptors::ENABLED) + new SoundAssetWriter(this, file, extra_active_channels, atmos_sync == AtmosSync::ENABLED, include_mca_subdescriptors == MCASubDescriptors::ENABLED) ); } -- cgit v1.2.3