summaryrefslogtreecommitdiff
path: root/packages/xmms-embedded/xmms-embedded-20040327/mikmod-endian.patch
blob: 9e3b96528cc514c3d365f979bae910b7fac377e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- xmms-embedded/xmms/Input/mikmod/drv_xmms.c.orig	2002-10-10 19:46:47 +0200
+++ xmms-embedded/xmms/Input/mikmod/drv_xmms.c	2004-11-02 13:29:06 +0100
@@ -65,7 +65,7 @@
 	if (!(audiobuffer = (SBYTE *) g_malloc0(buffer_size)))
 		return 1;
 	
-	fmt = (md_mode & DMODE_16BITS) ? FMT_S16_LE : FMT_U8;
+	fmt = (md_mode & DMODE_16BITS) ? FMT_S16_NE : FMT_U8;
 	nch = (md_mode & DMODE_STEREO) ? 2 : 1;
 
 	if (audio_open)