From a976df9b5ebd2fc9b37db053faf4e8f33d59b41e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 15 Apr 2016 19:49:09 +0100 Subject: Allow setup of the frame rate that audio content is prepared for. --- src/lib/audio_content.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/lib/audio_content.h') diff --git a/src/lib/audio_content.h b/src/lib/audio_content.h index 33c52aa73..ac91da595 100644 --- a/src/lib/audio_content.h +++ b/src/lib/audio_content.h @@ -37,6 +37,7 @@ public: static int const AUDIO_STREAMS; static int const AUDIO_GAIN; static int const AUDIO_DELAY; + static int const AUDIO_VIDEO_FRAME_RATE; }; /** @class AudioContent @@ -75,6 +76,9 @@ public: return _audio_delay; } + double audio_video_frame_rate () const; + void set_audio_video_frame_rate (double r); + std::string processing_description () const; protected: @@ -86,6 +90,7 @@ private: double _audio_gain; /** Delay to apply to audio (positive moves audio later) in milliseconds */ int _audio_delay; + boost::optional _audio_video_frame_rate; }; #endif -- cgit v1.2.3