openbsd-ports/games/gtkpool/patches/patch-sound_hh
2001-03-16 19:44:56 +00:00

16 lines
448 B
Plaintext

$OpenBSD: patch-sound_hh,v 1.2 2001/03/16 19:44:56 brad Exp $
--- sound.hh.orig Sun Jan 2 18:33:02 2000
+++ sound.hh Thu Mar 15 11:30:37 2001
@@ -6,7 +6,11 @@
void play_sound(char *sound, int count);
int load_sound(char *file, char *buffer, int *count);
+#ifdef __OpenBSD__
+void open_sound_device(char *name = "/dev/audio");
+#else
void open_sound_device(char *name = "/dev/dsp");
+#endif
void configure_sound_device();
class SoundError