blob: 2cbd51a00ed9aa120f45a3a01b972166cab047ef (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
*** Makefile.old Thu Feb 26 20:21:13 1998
--- Makefile Thu Feb 26 20:21:56 1998
***************
*** 34,40 ****
@echo "make ultrix DEC Ultrix (tested: 4.4)"
@echo "make aix IBM AIX (tested: 4.2)"
@echo "make os2 IBM OS/2"
! @echo "make netbsd NetBSD"
@echo "make bsdos BSDI BSD/OS"
@echo "make generic try this one if your system isn't listed above"
@echo ""
--- 34,41 ----
@echo "make ultrix DEC Ultrix (tested: 4.4)"
@echo "make aix IBM AIX (tested: 4.2)"
@echo "make os2 IBM OS/2"
! @echo "make netbsd NetBSD generic"
! @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.old Thu Feb 26 20:10:37 1998
--- audio_sun.c Thu Feb 26 20:18:46 1998
***************
*** 17,22 ****
--- 17,24 ----
#include "mpg123.h"
+ extern int outburst;
+
#include <sys/filio.h>
#ifdef SUNOS
#include <sun/audioio.h>
***************
*** 74,79 ****
--- 76,88 ----
}
#ifndef NETBSD
+ AUDIO_INITINFO(&ainfo);
+ if (ioctl(ai->fn, AUDIO_SETINFO, &ainfo) == -1)
+ return -1;
+ outburst = ainfo.blocksize;
+ if(outburst > MAXOUTBURST)
+ outburst = MAXOUTBURST;
+
AUDIO_INITINFO(&ainfo);
switch(ai->output) {
*** buffer.c.old Thu Feb 26 20:20:37 1998
--- buffer.c Thu Feb 26 20:20:45 1998
***************
*** 48,54 ****
for (;;) {
if (intflag) {
intflag = FALSE;
! #if defined(SOLARIS) || defined(__NetBSD__)
if (param.outmode == DECODE_AUDIO)
audio_queueflush (ai);
#endif
--- 48,54 ----
for (;;) {
if (intflag) {
intflag = FALSE;
! #if defined(SOLARIS) || defined(NETBSD)
if (param.outmode == DECODE_AUDIO)
audio_queueflush (ai);
#endif
|