summaryrefslogtreecommitdiffstats
path: root/options.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-12 14:06:37 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-12 18:29:09 +0200
commit3d999246e446995cd0ae508303ceeaa2f11836ad (patch)
treece4d6adb832ffb69e7a0ec5c6ba783c25d4ef49a /options.h
parenta66cce61ad0d62c9b4c24a9262b7182f865aca5b (diff)
downloadmpv-3d999246e446995cd0ae508303ceeaa2f11836ad.tar.bz2
mpv-3d999246e446995cd0ae508303ceeaa2f11836ad.tar.xz
audio: add -gapless-audio option
If the option is enabled and all audio has been buffered to the AO, then the player will move to the next file without waiting for the buffered audio to drain, while leaving the AO initialized. If the playback of the next file starts quickly enough (before the AO buffer empties) then it should continue writing audio to the same AO with no gap in between.
Diffstat (limited to 'options.h')
-rw-r--r--options.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/options.h b/options.h
index 5a403149d7..a12038708c 100644
--- a/options.h
+++ b/options.h
@@ -6,6 +6,8 @@ typedef struct MPOpts {
char **audio_driver_list;
int fixed_vo;
int vo_ontop;
+ int gapless_audio;
+ int ao_buffersize;
int screen_size_x;
int screen_size_y;
int vo_screenwidth;