openbsd-ports/games/gtkpool/patches/patch-gtkpool_sound_h

16 lines
483 B
Plaintext
Raw Normal View History

$OpenBSD: patch-gtkpool_sound_h,v 1.2 2002/10/25 11:59:06 naddy Exp $
--- gtkpool/sound.h.orig Thu Oct 24 12:04:12 2002
+++ gtkpool/sound.h Thu Oct 24 12:05:20 2002
2002-02-19 01:28:31 -05:00
@@ -29,7 +29,11 @@
void play_sound(char *sound, int count);
int load_sound(char *file, char *buffer, int *count);
2002-02-19 01:28:31 -05:00
+#ifndef __OpenBSD__
2001-03-16 14:44:56 -05:00
void open_sound_device(char *name = "/dev/dsp");
2002-02-19 01:28:31 -05:00
+#else
+void open_sound_device(char *name = "/dev/audio");
2001-03-16 14:44:56 -05:00
+#endif
void close_sound_device();
void configure_sound_device();