+/* -*- c-basic-offset: 8; default-tab-width: 8; -*- */
+
/*
Copyright (C) 2013 Carl Hetherington <cth@carlh.net>
std::string information () const;
void as_xml (xmlpp::Node *) const;
boost::shared_ptr<Content> clone () const;
+ Time length (boost::shared_ptr<const Film>) const;
/* AudioContent */
int audio_channels () const {
return _audio_length;
}
- int audio_frame_rate () const {
+ int content_audio_frame_rate () const {
boost::mutex::scoped_lock lm (_mutex);
return _audio_frame_rate;
}
+
+ int output_audio_frame_rate (boost::shared_ptr<const Film>) const;
+
+ AudioMapping audio_mapping () const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _audio_mapping;
+ }
static bool valid_file (boost::filesystem::path);
int _audio_channels;
ContentAudioFrame _audio_length;
int _audio_frame_rate;
+ AudioMapping _audio_mapping;
};