summaryrefslogtreecommitdiff
path: root/src/sound_asset_writer.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-03-26 00:09:15 +0100
committerCarl Hetherington <cth@carlh.net>2021-03-26 00:09:15 +0100
commitb9c5e3f74550917676e14324791d6ba4d0c07cac (patch)
tree4e3264a68c365af195f682b548186f6c973246b7 /src/sound_asset_writer.h
parentc7208194515e93f85441c76d78d11a47d79b36e1 (diff)
Write MCA tags based on the specified sound field.
I had previously assumed that one should write MCA information into the sound MXF based on what channels actually contain sound rather than silence. However a previous example of a stereo DCP gives a verification error in EasyDCP (see DoM bug #1935) which is solved by adding MCA tags for each channel in the specified sound field (e.g. at least 6 tags for a file which is marked as 5.1) even if the audio is really stereo. This commit removes the "active channels" stuff and makes sure that if we say a file is 5.1 we write at least 6 MCA tags (and similarly for 7.1).
Diffstat (limited to 'src/sound_asset_writer.h')
-rw-r--r--src/sound_asset_writer.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sound_asset_writer.h b/src/sound_asset_writer.h
index d2eba024..b024749f 100644
--- a/src/sound_asset_writer.h
+++ b/src/sound_asset_writer.h
@@ -78,7 +78,7 @@ private:
friend class SoundAsset;
friend struct ::sync_test1;
- SoundAssetWriter (SoundAsset *, boost::filesystem::path, std::vector<Channel> active_channels, bool sync);
+ SoundAssetWriter (SoundAsset *, boost::filesystem::path, bool sync);
void start ();
void write_current_frame ();
@@ -99,8 +99,6 @@ private:
/** index of the sync packet (0-3) which starts the next edit unit */
int _sync_packet = 0;
FSK _fsk;
-
- std::vector<Channel> _active_channels;
};
}