summaryrefslogtreecommitdiff
path: root/src/lib/player.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-09-09 09:50:48 +0100
committerCarl Hetherington <cth@carlh.net>2015-09-09 09:50:48 +0100
commitf26af8112b03b5233eb5239defd11a7428b705ad (patch)
treea7385c484829f531bbbc35b3f38235035e160a92 /src/lib/player.h
parent272ce54d159a53be22f592922913901cfc673097 (diff)
Use SRC_LINEAR for speed when analysing audio (#685).
Diffstat (limited to 'src/lib/player.h')
-rw-r--r--src/lib/player.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/player.h b/src/lib/player.h
index 0a2117470..842c2283c 100644
--- a/src/lib/player.h
+++ b/src/lib/player.h
@@ -52,6 +52,7 @@ public:
void set_ignore_audio ();
void set_enable_subtitles (bool enable);
void set_always_burn_subtitles (bool burn);
+ void set_fast ();
/** Emitted when something has changed such that if we went back and emitted
* the last frame again it would look different. This is not emitted after
@@ -124,6 +125,8 @@ private:
of content settings
*/
bool _always_burn_subtitles;
+ /** true if we should try to be fast rather than high quality */
+ bool _fast;
boost::shared_ptr<AudioProcessor> _audio_processor;