blob: bf6ad22c22d0db3906f1bd2f4cb148b036b40a70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
--- Makefile.orig Sun Feb 8 13:23:04 1998
+++ Makefile Sat Mar 7 08:39:36 1998
@@ -32,6 +32,7 @@
@echo "make aix IBM AIX (tested: 4.2)"
@echo "make os2 IBM OS/2"
@echo "make netbsd NetBSD"
+ @echo "make netbsd-i386 NetBSD optimized for i386"
@echo "make bsdos BSDI BSD/OS"
@echo "make generic try this one if your system isn't listed above"
@echo ""
--- audio_sun.c.orig Mon Jan 5 06:41:31 1998
+++ audio_sun.c Sat Mar 7 08:43:50 1998
@@ -17,6 +17,8 @@
#include "mpg123.h"
+extern int outburst;
+
#include <sys/filio.h>
#ifdef SUNOS
#include <sun/audioio.h>
@@ -74,6 +76,13 @@
}
#ifndef NETBSD
+ AUDIO_INITINFO(&ainfo);
+ if(ioctl(ai->fn, AUDIO_GETINFO, &ainfo) == -1)
+ return -1;
+ outburst = ainfo.blocksize;
+ if(outburst > MAXOUTBURST)
+ outburst = MAXOUTBURST;
+
AUDIO_INITINFO(&ainfo);
switch(ai->output) {
--- buffer.c.orig Wed Feb 11 15:55:18 1998
+++ buffer.c Sat Mar 7 08:40:43 1998
@@ -48,7 +48,7 @@
for (;;) {
if (intflag) {
intflag = FALSE;
-#if defined(SOLARIS) || defined(__NetBSD__)
+#if defined(SOLARIS) || defined(NETBSD)
if (param.outmode == DECODE_AUDIO)
audio_queueflush (ai);
#endif
|