2 #include <boost/shared_ptr.hpp>
5 class NullContent : public VideoContent, public AudioContent
8 NullContent (Time s, Time len)
15 std::string summary () const {
19 std::string information () const {
23 boost::shared_ptr<Content> clone () const {
24 return shared_ptr<Content> ();
27 int audio_channels () const {
28 return MAX_AUDIO_CHANNELS;
31 ContentAudioFrame audio_length () const {
32 return _length * content_audio_frame_rate() / TIME_HZ;
35 int content_audio_frame_rate () const {
39 int output_audio_frame_rate (boost::shared_ptr<const Film>) const {
40 return _film->dcp_audio_frame_rate (content_audio_frame_rate ());
43 AudioMapping audio_mapping () const {
44 return AudioMapping ();
47 Time length (boost::shared_ptr<const Film>) const {