pkgsrc/audio/mpg123/patches/patch-af

19 lines
360 B
Text

$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++) {