diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-04-15 19:49:09 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-04-15 19:49:09 +0100 |
| commit | a976df9b5ebd2fc9b37db053faf4e8f33d59b41e (patch) | |
| tree | c5f46192064e1917ffe6d8f39e3b6d49231d7af0 /src/lib/audio_content.h | |
| parent | 669ade1098a5afcfd1e2aee7f114de7baa77f97f (diff) | |
Allow setup of the frame rate that audio content is prepared for.
Diffstat (limited to 'src/lib/audio_content.h')
| -rw-r--r-- | src/lib/audio_content.h | 5 |
1 files changed, 5 insertions, 0 deletions
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<double> _audio_video_frame_rate; }; #endif |
