35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
$OpenBSD: patch-config_h,v 1.1 2001/07/05 10:48:21 espie Exp $
|
|
--- config.h.orig Sat Jun 1 14:54:49 1996
|
|
+++ config.h Fri Apr 27 08:01:39 2001
|
|
@@ -121,7 +121,7 @@
|
|
/* Make envelopes twice as fast. Saves ~20% CPU time (notes decay
|
|
faster) and sounds more like a GUS. There is now a command line
|
|
option to toggle this as well. */
|
|
-#define FAST_DECAY
|
|
+/* #define FAST_DECAY */
|
|
|
|
/* How many bits to use for the fractional part of sample positions.
|
|
This affects tonal accuracy. The entire position counter must fit
|
|
@@ -217,6 +217,12 @@
|
|
# endif
|
|
#endif /* linux */
|
|
|
|
+#ifdef __OpenBSD__
|
|
+#include <errno.h>
|
|
+#define USE_LDEXP
|
|
+#define PI M_PI
|
|
+#endif
|
|
+
|
|
/* Win32 on Intel machines */
|
|
#ifdef __WIN32__
|
|
# define LITTLE_ENDIAN
|
|
@@ -267,7 +273,7 @@ typedef char int8;
|
|
|
|
/* You could specify a complete path, e.g. "/etc/timidity.cfg", and
|
|
then specify the library directory in the configuration file. */
|
|
-#define CONFIG_FILE "timidity.cfg"
|
|
+#define CONFIG_FILE "/usr/local/lib/timidity/timidity.cfg"
|
|
|
|
/* These affect general volume */
|
|
#define GUARD_BITS 3
|