397be1d7dc
* audio_solaris.c: Don't spit warnings if /dev/audio doesn't exist. User probably knows he doesn't have a sound card. * esdlib.c (esd_connect_tcpip): Fix case in which user specifies only a port number (first character of host is :)
22 lines
640 B
Text
22 lines
640 B
Text
$NetBSD: patch-ab,v 1.2 2000/02/06 03:33:53 wiz Exp $
|
|
|
|
--- ./audio_oss.c.orig Tue Oct 5 00:10:32 1999
|
|
+++ ./audio_oss.c Sun Feb 6 03:42:31 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.";
|
|
}
|
|
|
|
|
|
@@ -36,7 +36,7 @@
|
|
mode = O_RDWR;
|
|
|
|
/* 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);
|