Note that newer libsub version is required.
[dcpomatic.git] / src / lib / audio_content.cc
index bd857b313d418da8fcc674ee25f8abd3ed8f3221..16f2bd5f1a250d7188cb1a73740a415d530b2b08 100644 (file)
@@ -192,7 +192,6 @@ AudioContent::mapping () const
        merged.make_zero ();
 
        int c = 0;
-       int s = 0;
        for (auto i: streams()) {
                auto mapping = i->mapping ();
                for (int j = 0; j < mapping.input_channels(); ++j) {
@@ -203,7 +202,6 @@ AudioContent::mapping () const
                        }
                        ++c;
                }
-               ++s;
        }
 
        return merged;
@@ -351,18 +349,6 @@ AudioContent::add_properties (shared_ptr<const Film> film, list<UserProperty>& p
 }
 
 
-void
-AudioContent::set_streams (vector<AudioStreamPtr> streams)
-{
-       ContentChangeSignaller cc (_parent, AudioContentProperty::STREAMS);
-
-       {
-               boost::mutex::scoped_lock lm (_mutex);
-               _streams = streams;
-       }
-}
-
-
 AudioStreamPtr
 AudioContent::stream () const
 {