diff options
Diffstat (limited to 'audio/format.h')
-rw-r--r-- | audio/format.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/format.h b/audio/format.h index 6542e1d12a..b318d4cdca 100644 --- a/audio/format.h +++ b/audio/format.h @@ -47,6 +47,7 @@ #define AF_FORMAT_SIGN_MASK (1<<1) // Bits used +// Some code assumes they're sorted by size. #define AF_FORMAT_8BIT (0<<3) #define AF_FORMAT_16BIT (1<<3) #define AF_FORMAT_24BIT (2<<3) @@ -164,4 +165,6 @@ bool af_fmt_is_valid(int format); void af_fill_silence(void *dst, size_t bytes, int format); +int af_format_conversion_score(int dst_format, int src_format); + #endif /* MPLAYER_AF_FORMAT_H */ |