summaryrefslogtreecommitdiff
path: root/src/lib/sndfile_content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-05-21 17:32:28 +0100
committerCarl Hetherington <cth@carlh.net>2013-05-21 17:32:28 +0100
commit2255aedd15f985796d2e6f7fcc7fb412a5d98812 (patch)
tree744d52adfdd226ce5b0220d62612710873fa77f4 /src/lib/sndfile_content.h
parent2de990b0155fcb5c3dac821ef8c2659e903d2f6e (diff)
Various more hacks; basically trying to remove Regions as an unnecessary complexity.
Diffstat (limited to 'src/lib/sndfile_content.h')
-rw-r--r--src/lib/sndfile_content.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/sndfile_content.h b/src/lib/sndfile_content.h
index d930d7061..1ef4b3f02 100644
--- a/src/lib/sndfile_content.h
+++ b/src/lib/sndfile_content.h
@@ -62,6 +62,11 @@ public:
}
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);
@@ -69,4 +74,5 @@ private:
int _audio_channels;
ContentAudioFrame _audio_length;
int _audio_frame_rate;
+ AudioMapping _audio_mapping;
};