diff options
author | wm4 <wm4@nowhere> | 2018-01-18 14:44:20 +0100 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2018-01-30 03:10:27 -0800 |
commit | b9f804b566c4c528714e4ec5e63675ad7ba5fefd (patch) | |
tree | 49d6fcd42ce6597a67aa2af59b7f20beb21a2e14 /audio/format.h | |
parent | 76276c92104c31ee936ba5c76a76072f09978c5f (diff) | |
download | mpv-b9f804b566c4c528714e4ec5e63675ad7ba5fefd.tar.bz2 mpv-b9f804b566c4c528714e4ec5e63675ad7ba5fefd.tar.xz |
audio: rewrite filtering glue code
Use the new filtering code for audio too.
Diffstat (limited to 'audio/format.h')
-rw-r--r-- | audio/format.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/format.h b/audio/format.h index 8c620226df..0afc6567c9 100644 --- a/audio/format.h +++ b/audio/format.h @@ -70,6 +70,7 @@ int af_fmt_seconds_to_bytes(int format, float seconds, int channels, int sampler void af_fill_silence(void *dst, size_t bytes, int format); void af_get_best_sample_formats(int src_format, int *out_formats); +int af_format_conversion_score(int dst_format, int src_format); int af_select_best_samplerate(int src_sampelrate, const int *available); int af_format_sample_alignment(int format); |