From 9dd9ccbd8d79a7dccd93be0a1e26028ca1d89d42 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 10 May 2013 15:04:21 +0200 Subject: audio: add double sample format To make this easier, get rid of the direct mapping of the AF_FORMAT_BITS_MASK bit field to number of bytes. This way we can throw away the unused AF_FORMAT_48BIT and don't have to add ..._56BIT. --- audio/fmt-conversion.c | 1 + 1 file changed, 1 insertion(+) (limited to 'audio/fmt-conversion.c') diff --git a/audio/fmt-conversion.c b/audio/fmt-conversion.c index 58943d3b4b..4c1055f118 100644 --- a/audio/fmt-conversion.c +++ b/audio/fmt-conversion.c @@ -30,6 +30,7 @@ static const struct { {AV_SAMPLE_FMT_S16, AF_FORMAT_S16_NE}, {AV_SAMPLE_FMT_S32, AF_FORMAT_S32_NE}, {AV_SAMPLE_FMT_FLT, AF_FORMAT_FLOAT_NE}, + {AV_SAMPLE_FMT_DBL, AF_FORMAT_DOUBLE_NE}, {AV_SAMPLE_FMT_NONE, 0}, }; -- cgit v1.2.3