diff options
author | wm4 <wm4@nowhere> | 2013-05-10 15:04:21 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-05-12 21:24:57 +0200 |
commit | 9dd9ccbd8d79a7dccd93be0a1e26028ca1d89d42 (patch) | |
tree | 29710ba141b4a41550696753baa99e134e3dabe8 /audio/fmt-conversion.c | |
parent | f5aec5a2a7703b18d7e5d1b83991039f3414dba8 (diff) | |
download | mpv-9dd9ccbd8d79a7dccd93be0a1e26028ca1d89d42.tar.bz2 mpv-9dd9ccbd8d79a7dccd93be0a1e26028ca1d89d42.tar.xz |
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.
Diffstat (limited to 'audio/fmt-conversion.c')
-rw-r--r-- | audio/fmt-conversion.c | 1 |
1 files changed, 1 insertions, 0 deletions
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}, }; |