X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Faudio_content.h;h=67183d0a45b517887ea0f4625894f2adaa1dfc33;hp=adb5c9556151e0aa02d876374042e8b6cd3f2b8b;hb=ddd767fd647b2fd585d75ada000d3d01c4c43cb2;hpb=8a0ab373363c34daf5d926e951ee79fc422fdb3d diff --git a/src/lib/audio_content.h b/src/lib/audio_content.h index adb5c9556..67183d0a4 100644 --- a/src/lib/audio_content.h +++ b/src/lib/audio_content.h @@ -31,7 +31,6 @@ #include "content_part.h" #include "audio_stream.h" #include "audio_mapping.h" -#include /** @class AudioContentProperty @@ -43,7 +42,6 @@ public: static int const STREAMS; static int const GAIN; static int const DELAY; - static int const LANGUAGE; }; @@ -65,7 +63,6 @@ public: void set_gain (double); void set_delay (int); - void set_language (boost::optional langauge); double gain () const { boost::mutex::scoped_lock lm (_mutex); @@ -77,11 +74,6 @@ public: return _delay; } - boost::optional language () const { - boost::mutex::scoped_lock lm (_mutex); - return _language; - } - std::string processing_description (std::shared_ptr film) const; std::vector streams () const { @@ -108,7 +100,6 @@ private: /** Delay to apply to audio (positive moves audio later) in milliseconds */ int _delay = 0; std::vector _streams; - boost::optional _language; }; #endif