blob: b1d8d806f69468f8af1417397f66527ca9a61014 (
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-an,v 1.1.1.1 2001/04/27 17:17:18 wiz Exp $
--- rtaudio.c.orig Thu Apr 5 14:29:45 2001
+++ rtaudio.c Thu Apr 5 14:30:08 2001
@@ -45,7 +45,7 @@
#ifdef LINUX /* Jonathan Mohr 1995 Oct 17 */
#include <unistd.h>
#include <fcntl.h>
-#define DSP_NAME "/dev/dsp"
+#define DSP_NAME "/dev/audio"
static int dspfd;
void setsndparms(int, int, int, float, unsigned);
void setvolume(unsigned);
@@ -688,7 +688,7 @@
#ifdef LINUX /* J. Mohr 1995 Oct 17 */
if (write(dspfd, outbuf, nbytes) < nbytes)
- printf(Str(X_177,"/dev/dsp: couldn't write all bytes requested\n"));
+ printf(Str(X_177,"/dev/audio: couldn't write all bytes requested\n"));
#endif
#ifdef __BEOS__
while (nbytes > 0) {
|