better
This commit is contained in:
parent
9ef0fe6204
commit
b3d316d031
@ -1,12 +1,15 @@
|
||||
$OpenBSD: patch-sound_hh,v 1.1.1.1 2001/02/04 18:35:52 reinhard Exp $
|
||||
--- sound.hh.orig Wed Dec 15 23:35:44 1999
|
||||
+++ sound.hh Sat Jan 20 16:53:34 2001
|
||||
@@ -6,7 +6,7 @@
|
||||
$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);
|
||||
-void open_sound_device(char *name = "/dev/dsp");
|
||||
+#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
|
||||
|
Loading…
Reference in New Issue
Block a user