comparison libao2/afmt.h @ 7719:41e8d0916c60

Fix for audio filters on big endian cpus. It's working now on Solaris SPARC & x86
author jkeil
date Sat, 12 Oct 2002 20:02:01 +0000
parents 02576893af2a
children c8677169cc2c
comparison
equal deleted inserted replaced
7718:05ded2e1327a 7719:41e8d0916c60
34 #ifndef AFMT_S32_LE 34 #ifndef AFMT_S32_LE
35 # define AFMT_S32_LE 0x00001000 35 # define AFMT_S32_LE 0x00001000
36 # define AFMT_S32_BE 0x00002000 36 # define AFMT_S32_BE 0x00002000
37 #endif 37 #endif
38 38
39
40 /* native endian formats */
41 #ifndef AFMT_S16_NE
42 # if WORDS_BIGENDIAN
43 # define AFMT_S16_NE AFMT_S16_BE
44 # define AFMT_S32_NE AFMT_S32_BE
45 # else
46 # define AFMT_S16_NE AFMT_S16_LE
47 # define AFMT_S32_NE AFMT_S32_LE
48 # endif
49 #endif