mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
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.
This commit is contained in:
@@ -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},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user