blob: f194954f20f4bbf64a7b74c1841e92d9d14a5ea1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
$NetBSD: patch-aa,v 1.2 2000/01/22 23:44:31 tron Exp $
--- ../ui/sound/OSS.c.orig Tue May 18 10:19:45 1999
+++ ../ui/sound/OSS.c Tue May 18 10:24:03 1999
@@ -32,11 +32,7 @@
#include <sys/types.h>
#include <unistd.h>
-#ifdef __FreeBSD__
- #include <machine/soundcard.h>
-#else
- #include <sys/soundcard.h>
-#endif
+#include <soundcard.h>
#include "TIASound.h"
@@ -61,9 +57,9 @@
int mute = 0;
/* Open the sound device for writing */
- if((fd = open("/dev/dsp", O_WRONLY, 0)) == -1)
+ if((fd = open("/dev/sound", O_WRONLY, 0)) == -1)
{
- printf("stella-sound: Unable to open /dev/dsp device!\n");
+ printf("stella-sound: Unable to open /dev/sound device!\n");
return 1;
}
|