From b9f804b566c4c528714e4ec5e63675ad7ba5fefd Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 18 Jan 2018 14:44:20 +0100 Subject: audio: rewrite filtering glue code Use the new filtering code for audio too. --- audio/format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio/format.c') diff --git a/audio/format.c b/audio/format.c index b6d6761b65..8a13698ff7 100644 --- a/audio/format.c +++ b/audio/format.c @@ -154,7 +154,7 @@ void af_fill_silence(void *dst, size_t bytes, int format) // If the formats are equal, 1024 is returned. If they are gravely incompatible // (like s16<->ac3), INT_MIN is returned. If there is implied loss of precision // (like s16->s8), a value <0 is returned. -static int af_format_conversion_score(int dst_format, int src_format) +int af_format_conversion_score(int dst_format, int src_format) { if (dst_format == AF_FORMAT_UNKNOWN || src_format == AF_FORMAT_UNKNOWN) return INT_MIN; -- cgit v1.2.3