blob: 6fd37eb92e06ace7e89ee95e24c0d0c2e104a772 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ab,v 1.3 2000/05/30 19:20:13 drochner Exp $
--- audio_oss.c.orig Wed Mar 15 19:00:49 2000
+++ audio_oss.c Tue May 30 17:05:24 2000
@@ -19,7 +19,7 @@
#define ARCH_esd_audio_devices
const char *esd_audio_devices()
{
- return "/dev/dsp, /dev/dsp2, etc.";
+ return "/dev/audio, /dev/audio2, etc.";
}
@@ -38,7 +38,7 @@
mode |= O_NONBLOCK;
/* open the sound device */
- device = esd_audio_device ? esd_audio_device : "/dev/dsp";
+ device = esd_audio_device ? esd_audio_device : "/dev/audio";
if ((afd = open(device, mode, 0)) == -1)
{ /* Opening device failed */
perror(device);
|