diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-01-04 23:33:28 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-04-29 00:07:13 +0200 |
| commit | 08b44e380c8be3a8cb2dacbd94049f09942dabc1 (patch) | |
| tree | 9b460bcea45857f5eea1bba2360680e814ad64f3 /src/lib/film.h | |
| parent | e06941199da90359f41ce80c276752bc0f172d7e (diff) | |
Allow 96kHz audio as an advanced option (#1789).
Diffstat (limited to 'src/lib/film.h')
| -rw-r--r-- | src/lib/film.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/film.h b/src/lib/film.h index 1d1034775..e9c043b72 100644 --- a/src/lib/film.h +++ b/src/lib/film.h @@ -152,8 +152,6 @@ public: std::vector<CPLSummary> cpls () const; - int audio_frame_rate () const; - std::list<DCPTextTrack> closed_caption_tracks () const; uint64_t required_disk_space () const; @@ -233,6 +231,7 @@ public: ENCRYPTED, J2K_BANDWIDTH, VIDEO_FRAME_RATE, + AUDIO_FRAME_RATE, AUDIO_CHANNELS, /** The setting of _three_d has changed */ THREE_D, @@ -417,6 +416,10 @@ public: return _isdcf_date; } + int audio_frame_rate () const { + return _audio_frame_rate; + } + /* SET */ void set_directory (boost::filesystem::path); @@ -463,6 +466,7 @@ public: void set_distributor (boost::optional<std::string> d = boost::none); void set_luminance (boost::optional<dcp::Luminance> l = boost::none); void set_audio_language (boost::optional<dcp::LanguageTag> language); + void set_audio_frame_rate (int rate); void add_ffoc_lfoc (Markers& markers) const; @@ -570,6 +574,7 @@ private: bool _two_d_version_of_three_d = false; boost::optional<dcp::Luminance> _luminance; boost::optional<dcp::LanguageTag> _audio_language; + int _audio_frame_rate = 48000; int _state_version; |
