diff options
author | wm4 <wm4@nowhere> | 2015-09-10 23:30:51 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-09-10 23:30:51 +0200 |
commit | 60a617df311fc6e56feced64143d912eb7b7099b (patch) | |
tree | dbcf26f8c06596239b7bef93853c95bdd5006452 /audio/format.h | |
parent | e45f4692804f48c7e8b4a4229bbd51d72a6a6d42 (diff) | |
download | mpv-60a617df311fc6e56feced64143d912eb7b7099b.tar.bz2 mpv-60a617df311fc6e56feced64143d912eb7b7099b.tar.xz |
audio/format: add function for determining sample conversion candidates
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 ea17a44766..831fe0a825 100644 --- a/audio/format.h +++ b/audio/format.h @@ -76,6 +76,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); int af_format_conversion_score(int dst_format, int src_format); +void af_get_best_sample_formats(int src_format, int out_formats[AF_FORMAT_COUNT]); int af_format_sample_alignment(int format); |