diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-05-23 17:18:49 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-05-23 17:18:49 +0100 |
| commit | 64a2f1bb6a7b972607fa363631ef7a47444e8217 (patch) | |
| tree | 020c028a93f113e372e70f485857ce04dea5db3d /src/lib/audio_content.cc | |
| parent | 8c6fe8e1e8c8f6d5932606f2a5b6e1b87681ae38 (diff) | |
Various bits and pieces.
Diffstat (limited to 'src/lib/audio_content.cc')
| -rw-r--r-- | src/lib/audio_content.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/audio_content.cc b/src/lib/audio_content.cc index a3942f64b..607e71c50 100644 --- a/src/lib/audio_content.cc +++ b/src/lib/audio_content.cc @@ -32,24 +32,24 @@ int const AudioContentProperty::AUDIO_FRAME_RATE = 202; int const AudioContentProperty::AUDIO_GAIN = 203; int const AudioContentProperty::AUDIO_DELAY = 204; -AudioContent::AudioContent (Time s) - : Content (s) +AudioContent::AudioContent (shared_ptr<const Film> f, Time s) + : Content (f, s) , _audio_gain (0) , _audio_delay (0) { } -AudioContent::AudioContent (boost::filesystem::path f) - : Content (f) +AudioContent::AudioContent (shared_ptr<const Film> f, boost::filesystem::path p) + : Content (f, p) , _audio_gain (0) , _audio_delay (0) { } -AudioContent::AudioContent (shared_ptr<const cxml::Node> node) - : Content (node) +AudioContent::AudioContent (shared_ptr<const Film> f, shared_ptr<const cxml::Node> node) + : Content (f, node) { _audio_gain = node->number_child<float> ("AudioGain"); _audio_delay = node->number_child<int> ("AudioDelay"); |
