blob: e0beaa74d3b3205d833240c05974b01cfbd58884 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$NetBSD: patch-af,v 1.1 1999/04/08 07:35:56 tron Exp $
--- audio.c.orig Mon Nov 23 08:16:24 1998
+++ audio.c Wed Apr 7 16:23:29 1999
@@ -81,10 +81,14 @@
k1 = NUM_RATES;
}
+#ifndef NETBSD
if(audio_open(&ai1) < 0) {
perror("audio");
exit(1);
}
+#else
+ audio_open(&ai1);
+#endif
for(i=0;i<NUM_CHANNELS;i++) {
for(j=0;j<NUM_RATES;j++) {
|