pkgsrc/audio/mpg123/patches/patch-ao
2002-06-22 17:56:37 +00:00

24 lines
586 B
Text

$NetBSD: patch-ao,v 1.1 2002/06/22 17:56:37 kent Exp $
--- audio_esd.c.orig Sat May 29 00:06:29 1999
+++ audio_esd.c
@@ -8,6 +8,10 @@
#include <stropts.h>
#include <sys/conf.h>
#endif
+#ifdef NETBSD
+#include <sys/ioctl.h>
+#include <sys/audioio.h>
+#endif
static unsigned esd_rate = 0, esd_format = 0, esd_channels = 0;
@@ -75,7 +79,7 @@
else if (ai->rate > esd_rate)
return -1;
- ai->fn = esd_play_stream_fallback(format, ai->rate, esdserver, "mpg123");
+ ai->fn = esd_play_stream_fallback(format, ai->rate, NULL/*esdserver*/, "mpg123");
return (ai->fn);
}