summaryrefslogtreecommitdiff
path: root/src/AS_02_PCM.cpp
diff options
context:
space:
mode:
authormilla <marc.illa@dolby.com>2021-06-03 14:23:52 +0200
committermilla <marc.illa@dolby.com>2021-06-03 14:23:52 +0200
commitbc8f5448441a85605f052294d40cf947473e83f5 (patch)
tree72b6588d5ed35b9cbb6ebc9e6646dd7583c76eab /src/AS_02_PCM.cpp
parentf9d7fbc33aa571c547d916b145712469efd9f4b8 (diff)
Templatize h__AS02WriteClip, move functions to header. Note that this depends on filereader pluggable at runtime commit as the reader is called as a pointer here.
Diffstat (limited to 'src/AS_02_PCM.cpp')
-rw-r--r--src/AS_02_PCM.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/AS_02_PCM.cpp b/src/AS_02_PCM.cpp
index d034ffb..841f103 100644
--- a/src/AS_02_PCM.cpp
+++ b/src/AS_02_PCM.cpp
@@ -326,7 +326,7 @@ AS_02::PCM::MXFReader::DumpIndex(FILE* stream) const
//------------------------------------------------------------------------------------------
//
-class AS_02::PCM::MXFWriter::h__Writer : public AS_02::h__AS02WriterClip
+class AS_02::PCM::MXFWriter::h__Writer : public AS_02::h__AS02WriterClip<AS_02::MXF::AS02IndexWriterCBR>
{
ASDCP_NO_COPY_CONSTRUCT(h__Writer);
h__Writer();
@@ -335,8 +335,8 @@ public:
ASDCP::MXF::WaveAudioDescriptor *m_WaveAudioDescriptor;
byte_t m_EssenceUL[SMPTE_UL_LENGTH];
ui32_t m_BytesPerSample;
-
- h__Writer(const Dictionary *d) : AS_02::h__AS02WriterClip(d), m_WaveAudioDescriptor(0), m_BytesPerSample(0)
+
+ h__Writer(const Dictionary *d) : AS_02::h__AS02WriterClip<AS_02::MXF::AS02IndexWriterCBR>(d), m_WaveAudioDescriptor(0), m_BytesPerSample(0)
{
memset(m_EssenceUL, 0, SMPTE_UL_LENGTH);
}