1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-15 12:46:42 +00:00
termux-packages/packages/mpv/mpv.conf
Tom Yan 7c3577e5b0 mpv: allow s32 and float output
As they are supported since API 21. If they don't work in certain
devices, mpv can still be forced to output in s16 only with an
option.
2018-07-25 10:29:06 +02:00

23 lines
771 B
Plaintext

# Default configuration for mpv
# Enable OpenSL ES output, since this should work on all Android devices
ao=opensles
# Use the following option to increase or decrease audio buffer
# when necessary / desired. The default is 250ms (0.25s).
# opensles-buffer-size-in-ms=250
# You can also use the generic audio-buffer option (which takes
# value in second instead), but it will only has effect on the
# opensles ao if the above option is explicitly set to 0.
# By default mpv allows s32 and float output. If they aren't
# supported in your device (which should not happen with API
# 21 and above), disable them with the following option:
# audio-format=s16
# Disable Video Decode and Output. Termux doesn't support video output (with the exception of "tct").
vid=no