pkgsrc/audio/esound/patches/patch-ab
drochner 228bdce713 update to 0.2.18
The "NEWS" file id one of the oldest files in the distribution:-(
2000-05-30 19:20:12 +00:00

22 lines
642 B
Text

$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);