[Mplayer-cvslog] CVS: main/libao2 afmt.h,1.2,1.3
Jürgen Keil
jkeil at mplayerhq.hu
Sat Oct 12 22:02:03 CEST 2002
Update of /cvsroot/mplayer/main/libao2
In directory mail:/var/tmp.root/cvs-serv19292/libao2
Modified Files:
afmt.h
Log Message:
Fix for audio filters on big endian cpus. It's working now on Solaris SPARC &
x86
Index: afmt.h
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/afmt.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- afmt.h 27 Apr 2002 22:42:24 -0000 1.2
+++ afmt.h 12 Oct 2002 20:01:46 -0000 1.3
@@ -36,3 +36,14 @@
# define AFMT_S32_BE 0x00002000
#endif
+
+/* native endian formats */
+#ifndef AFMT_S16_NE
+# if WORDS_BIGENDIAN
+# define AFMT_S16_NE AFMT_S16_BE
+# define AFMT_S32_NE AFMT_S32_BE
+# else
+# define AFMT_S16_NE AFMT_S16_LE
+# define AFMT_S32_NE AFMT_S32_LE
+# endif
+#endif
More information about the MPlayer-cvslog
mailing list