1 $NetBSD: patch-ab,v 1.8 2008/11/20 17:42:27 wiz Exp $
3 Adapt path to audio device.
5 --- audio_oss.c.orig 2008-11-18 20:35:19.000000000 +0000
8 #define ARCH_esd_audio_devices
9 const char *esd_audio_devices()
11 - return "/dev/dsp, /dev/dsp2, etc.";
12 + return "/dev/audio, /dev/audio2, etc. or /dev/dsp, /dev/dsp2, etc.";
16 @@ -56,7 +56,7 @@ int esd_audio_open()
19 /* open the sound device */
20 - device = esd_audio_device ? esd_audio_device : "/dev/dsp";
21 + device = esd_audio_device ? esd_audio_device : DEV_DSP;
22 if ((afd = open(device, mode, 0)) == -1)
23 { /* Opening device failed */