summaryrefslogtreecommitdiffstats
path: root/audio/darkice/files/patch-src_OssDspSource.cpp
blob: 52a181145687fab0af45a77f613198112f6aca00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- src/OssDspSource.cpp.orig	Sun Jan 26 18:48:57 2003
+++ src/OssDspSource.cpp	Mon Feb 10 21:40:43 2003
@@ -86,6 +86,13 @@
 #error need sys/soundcard.h
 #endif
 
+#if defined(__FreeBSD__)
+#if defined(__sparc__) || defined(__powerpc__)
+#define AFMT_S16_NE AFMT_S16_BE
+#else
+#define AFMT_S16_NE AFMT_S16_LE
+#endif
+#endif
 
 #include "Util.h"
 #include "Exception.h"
OpenPOWER on IntegriCloud