Mercurial > mplayer.hg
changeset 30128:fe2645bad519
Mark AC3 as 16-bit format, this simplifies alignment calculation and fixes
hwac3 with ALSA reportedly broken by r29750.
author | reimar |
---|---|
date | Sat, 02 Jan 2010 20:45:27 +0000 |
parents | 774aa6f7399e |
children | a8283bcc8d2e |
files | libaf/af_format.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libaf/af_format.h Sat Jan 02 17:41:11 2010 +0000 +++ b/libaf/af_format.h Sat Jan 02 20:45:27 2010 +0000 @@ -59,7 +59,7 @@ #define AF_FORMAT_MU_LAW (1<<6) #define AF_FORMAT_A_LAW (2<<6) #define AF_FORMAT_MPEG2 (3<<6) // MPEG(2) audio -#define AF_FORMAT_AC3 (4<<6) // Dolby Digital AC3 +#define AF_FORMAT_AC3 ((4<<6)|AF_FORMAT_16BIT) // Dolby Digital AC3 #define AF_FORMAT_IMA_ADPCM (5<<6) #define AF_FORMAT_SPECIAL_MASK (7<<6)