summaryrefslogblamecommitdiff
path: root/audio/esound/files/patch-audio_oss.c
blob: 9d540c88e2191adebf385b4567abf316c56c936a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11




                                                
 




                                               

                                                            
                                                        



                                            
--- audio_oss.c.orig	Tue Jun  4 08:55:37 2002
+++ audio_oss.c	Sun Jun  9 01:55:21 2002
@@ -10,9 +10,14 @@
 #  endif
 #endif
 
+#if defined(__sparc__) || defined(__powerpc__)
+#define AFMT_S16_NE AFMT_S16_BE
+#else
+#define AFMT_S16_NE AFMT_S16_LE
+#endif
 
 /* FreeBSD uses a different identifier? what other BSDs? */
-#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+#ifndef SNDCTL_DSP_SETDUPLEX
 #define SNDCTL_DSP_SETDUPLEX DSP_CAP_DUPLEX
 #endif