summaryrefslogtreecommitdiff
path: root/src/sound_asset_writer.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-03-21 00:37:12 +0100
committerCarl Hetherington <cth@carlh.net>2023-03-21 00:37:12 +0100
commitc047da0a3ee78f8066ef65cdbcd978cdd67fb42e (patch)
tree351c8653add88bbb79069930ce3a8dfeddd82401 /src/sound_asset_writer.h
parent06adefd20b469b5f7fefaa4e5c97c30e8992e8b1 (diff)
Allow specification of channels that need a MCASubDescriptor.
Diffstat (limited to 'src/sound_asset_writer.h')
-rw-r--r--src/sound_asset_writer.h3
1 files changed, 2 insertions, 1 deletions
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<dcp::Channel> 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<dcp::Channel> _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 */