summaryrefslogtreecommitdiff
path: root/audio/maplay/files/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'audio/maplay/files/patch-ai')
-rw-r--r--audio/maplay/files/patch-ai72
1 files changed, 72 insertions, 0 deletions
diff --git a/audio/maplay/files/patch-ai b/audio/maplay/files/patch-ai
new file mode 100644
index 000000000000..a8dc5e4b5a2d
--- /dev/null
+++ b/audio/maplay/files/patch-ai
@@ -0,0 +1,72 @@
+*** maplay.cc.orig Thu Jun 23 21:14:36 1994
+--- maplay.cc Thu Dec 9 05:32:18 1999
+***************
+*** 54,67 ****
+
+ // data extracted from commandline arguments:
+ static char *filename;
+! static bool verbose_mode = False, filter_check = False;
+! static bool stdout_mode = False;
+ static enum e_channels which_channels = both;
+! static bool use_speaker = False, use_headphone = False, use_line_out = False;
+ #ifdef ULAW
+! static bool force_amd = False;
+ #endif
+! static bool use_own_scalefactor = False;
+ static real scalefactor;
+
+ // data extracted from header of first frame:
+--- 54,67 ----
+
+ // data extracted from commandline arguments:
+ static char *filename;
+! static boolean verbose_mode = False, filter_check = False;
+! static boolean stdout_mode = False;
+ static enum e_channels which_channels = both;
+! static boolean use_speaker = False, use_headphone = False, use_line_out = False;
+ #ifdef ULAW
+! static boolean force_amd = False;
+ #endif
+! static boolean use_own_scalefactor = False;
+ static real scalefactor;
+
+ // data extracted from header of first frame:
+***************
+*** 93,99 ****
+ main (int argc, char *argv[])
+ {
+ int i;
+! bool read_ready = False, write_ready = False;
+
+ if (argc < 2 || !strncmp (argv[1], "-h", 2))
+ {
+--- 93,99 ----
+ main (int argc, char *argv[])
+ {
+ int i;
+! boolean read_ready = False, write_ready = False;
+
+ if (argc < 2 || !strncmp (argv[1], "-h", 2))
+ {
+***************
+*** 146,151 ****
+--- 146,154 ----
+ #ifdef Solaris
+ "SPARC Solaris 2.x"
+ #else
++ #ifdef __FreeBSD__
++ "FreeBSD"
++ #else
+ #ifdef LINUX
+ "Linux"
+ #else
+***************
+*** 153,158 ****
+--- 156,162 ----
+ "RISC ULTRIX 4.x"
+ #else
+ "unknown"
++ #endif
+ #endif
+ #endif
+ #endif