summaryrefslogtreecommitdiff
path: root/audio/mikmod/patches/patch-ae
blob: 310c745bdf3f4ddad38dcb82a1509a2ac6b76904 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- drv_sun.c.orig	Sat Nov 30 22:09:55 1996
+++ drv_sun.c	Fri Mar 20 03:13:13 1998
@@ -33,7 +33,7 @@
 
 #include "mikmod.h"
 
-#define DEFAULT_FRAGSIZE 2048
+#define DEFAULT_FRAGSIZE 8192
 
 static int sndfd; /* we need these in a few places */
 static int play_encoding = -1, play_precision, fragsize = DEFAULT_FRAGSIZE;
@@ -173,9 +173,6 @@
 		close( sndfd );
 		return 0;
 	}
-	if(!quiet)
-		if( (play_stereo != 1 || play_rate != 8000) && AUDIO_ENCODING_ULAW )
-			printf( "Warning: not using 8khz mono with ulaw. This might not sound good\n" );
 
 	AUDIO_INITINFO( &audioinfo );
 	audioinfo.play.precision = play_precision;