17ca57b314
- respect CFLAGS - let this at least compile on hppa
32 lines
805 B
Plaintext
32 lines
805 B
Plaintext
$OpenBSD: patch-audio_esd_c,v 1.2 2004/04/20 01:45:30 jolan Exp $
|
|
--- audio_esd.c.orig 1999-05-28 10:06:29.000000000 -0500
|
|
+++ audio_esd.c 2004-04-19 11:15:34.000000000 -0500
|
|
@@ -75,7 +75,7 @@ int audio_open(struct audio_info_struct
|
|
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, "mpg123");
|
|
return (ai->fn);
|
|
}
|
|
|
|
@@ -127,17 +127,7 @@ int audio_close(struct audio_info_struct
|
|
return 0;
|
|
}
|
|
|
|
-#ifdef SOLARIS
|
|
void audio_queueflush (struct audio_info_struct *ai)
|
|
{
|
|
- ioctl (ai->fn, I_FLUSH, FLUSHRW);
|
|
+ return;
|
|
}
|
|
-#endif
|
|
-
|
|
-#ifdef NETBSD
|
|
-void audio_queueflush (struct audio_info_struct *ai)
|
|
-{
|
|
- ioctl (ai->fn, AUDIO_FLUSH, 0);
|
|
-}
|
|
-#endif
|
|
-
|