C++11 tidying.
[dcpomatic.git] / src / lib / audio_content.h
index adb5c9556151e0aa02d876374042e8b6cd3f2b8b..963f759e82fd68e260ab5a7f7f4d16566573cf82 100644 (file)
@@ -31,7 +31,6 @@
 #include "content_part.h"
 #include "audio_stream.h"
 #include "audio_mapping.h"
-#include <dcp/language_tag.h>
 
 
 /** @class AudioContentProperty
@@ -43,7 +42,6 @@ public:
        static int const STREAMS;
        static int const GAIN;
        static int const DELAY;
-       static int const LANGUAGE;
 };
 
 
@@ -63,9 +61,11 @@ public:
        int resampled_frame_rate (std::shared_ptr<const Film> film) const;
        std::vector<NamedChannel> channel_names () const;
 
-       void set_gain (double);
+       /** Set gain in dB.
+        *  @param double g New gain in dB.
+        */
+       void set_gain (double g);
        void set_delay (int);
-       void set_language (boost::optional<dcp::LanguageTag> langauge);
 
        double gain () const {
                boost::mutex::scoped_lock lm (_mutex);
@@ -77,11 +77,6 @@ public:
                return _delay;
        }
 
-       boost::optional<dcp::LanguageTag> language () const {
-               boost::mutex::scoped_lock lm (_mutex);
-               return _language;
-       }
-
        std::string processing_description (std::shared_ptr<const Film> film) const;
 
        std::vector<AudioStreamPtr> streams () const {
@@ -108,7 +103,6 @@ private:
        /** Delay to apply to audio (positive moves audio later) in milliseconds */
        int _delay = 0;
        std::vector<AudioStreamPtr> _streams;
-       boost::optional<dcp::LanguageTag> _language;
 };
 
 #endif