diff options
Diffstat (limited to 'audio/out/ao.h')
-rw-r--r-- | audio/out/ao.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/out/ao.h b/audio/out/ao.h index e462fcf4d5..056cdf7295 100644 --- a/audio/out/ao.h +++ b/audio/out/ao.h @@ -49,6 +49,11 @@ typedef struct ao_control_vol { float right; } ao_control_vol_t; +// If ao_get_delay() reaches this value after ao_play() was called with the +// AOPLAY_FINAL_CHUNK flag set, the playback core expects that the audio has +// all been played. +#define AO_EOF_DELAY 0.05 + struct ao; struct mpv_global; struct input_ctx; |