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_writer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/sound_asset_writer.h') diff --git a/src/sound_asset_writer.h b/src/sound_asset_writer.h index d8ebdc7b..495a4582 100644 --- a/src/sound_asset_writer.h +++ b/src/sound_asset_writer.h @@ -162,7 +162,7 @@ private: } } - SoundAssetWriter(SoundAsset *, boost::filesystem::path, bool sync, bool include_mca_subdescriptors); + SoundAssetWriter(SoundAsset *, boost::filesystem::path, std::vector extra_active_channels, bool sync, bool include_mca_subdescriptors); void start (); void write_current_frame (); @@ -178,6 +178,7 @@ private: SoundAsset* _asset = nullptr; int _frame_buffer_offset = 0; + std::vector _extra_active_channels; /** true to ignore any signal passed to write() on channel 14 and instead write a sync track */ bool _sync = false; /** index of the sync packet (0-3) which starts the next edit unit */ -- cgit v1.2.3