diff flac.h @ 9208:443f056ba7e7 libavcodec

share channel mode constants between the FLAC decoder and FLAC encoder
author jbr
date Sat, 21 Mar 2009 00:44:42 +0000
parents f534d0cca450
children 64246d9e583a
line wrap: on
line diff
--- a/flac.h	Fri Mar 20 22:29:31 2009 +0000
+++ b/flac.h	Sat Mar 21 00:44:42 2009 +0000
@@ -35,6 +35,13 @@
 #define FLAC_MAX_BLOCKSIZE  65535
 
 enum {
+    FLAC_CHMODE_INDEPENDENT =  0,
+    FLAC_CHMODE_LEFT_SIDE   =  8,
+    FLAC_CHMODE_RIGHT_SIDE  =  9,
+    FLAC_CHMODE_MID_SIDE    = 10,
+};
+
+enum {
     FLAC_METADATA_TYPE_STREAMINFO = 0,
     FLAC_METADATA_TYPE_PADDING,
     FLAC_METADATA_TYPE_APPLICATION,