[MPlayer-cvslog] r30170 - trunk/libaf/af_format.h
reimar
subversion at mplayerhq.hu
Sat Jan 2 21:45:27 CET 2010
Author: reimar
Date: Sat Jan 2 21:45:27 2010
New Revision: 30170
Log:
Mark AC3 as 16-bit format, this simplifies alignment calculation and fixes
hwac3 with ALSA reportedly broken by r29750.
Modified:
trunk/libaf/af_format.h
Modified: trunk/libaf/af_format.h
==============================================================================
--- trunk/libaf/af_format.h Sat Jan 2 18:41:11 2010 (r30169)
+++ trunk/libaf/af_format.h Sat Jan 2 21:45:27 2010 (r30170)
@@ -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)
More information about the MPlayer-cvslog
mailing list