2002-10-25 07:59:06 -04:00
|
|
|
$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 @@
|
2001-02-04 13:35:52 -05:00
|
|
|
|
|
|
|
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
|
2002-10-25 07:59:06 -04:00
|
|
|
void close_sound_device();
|
2001-02-04 13:35:52 -05:00
|
|
|
void configure_sound_device();
|
|
|
|
|