*/
+#include "atmos_decoder.h"
+#include "atmos_metadata.h"
#include "audio_content.h"
#include "audio_decoder.h"
#include "content.h"
i->Stop.connect (boost::bind(&Piece::stop, this, content, i->content(), _1));
}
+ if (_decoder->atmos) {
+ _decoder->atmos->Data.connect (boost::bind(&Piece::atmos, this, _1, _2, _3));
+ }
+
_decoder->Flush.connect (boost::bind(&Piece::flush, this));
}
}
+void
+Piece::atmos (shared_ptr<const dcp::AtmosFrame> data, Frame frame, AtmosMetadata metadata)
+{
+ Atmos (PieceAtmos(data, frame, metadata));
+}
+
+
void
Piece::update_pull_to (DCPTime& pull_to) const
{