22 lines
637 B
Text
22 lines
637 B
Text
$NetBSD: patch-ab,v 1.5 2002/10/03 12:21:29 jlam Exp $
|
|
|
|
--- audio_oss.c.orig Tue Jul 18 18:33:41 2000
|
|
+++ audio_oss.c
|
|
@@ -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. or /dev/dsp, /dev/dsp2, 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_DSP;
|
|
if ((afd = open(device, mode, 0)) == -1)
|
|
{ /* Opening device failed */
|
|
perror(device);
|