Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 May 96 15:39:46 +0100
From:      Jean-Marc Zucconi <jmz@cabri.obs-besancon.fr>
To:        sysseh@devetir.qld.gov.au
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: Network Audio System
Message-ID:  <9605011439.AA14682@cabri.obs-besancon.fr>
In-Reply-To: <199605010613.GAA29625@netfl15a.devetir.qld.gov.au> (message from Stephen Hocking on Wed, 01 May 1996 16:13:31 %2B1000)

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> Stephen Hocking writes:

 >> Does nas work on -current? I just installed it and can't start the
 >> server:

 > Yes it does, but you'll have to grab patch level 4 from 
 > ftp.x.org/contrib/audio. There'll be a later patch soon that'll incorporate a 
 > few changes that I've made.

This was with nas-1.2p4. I also solved my problem :-) /dev/dsp can't be
opened with O_RDWR. I got a working server with this patch:

--- auvoxware.c~        Thu Dec 28 21:12:36 1995
+++ auvoxware.c Wed May  1 15:22:11 1996
@@ -1056,7 +1056,7 @@
 
     sndStatOut = (SndStat*) aualloc(sizeof(SndStat));
 
-    if ((fd = open("/dev/dsp", O_RDWR, 0)) == -1) {
+    if ((fd = open("/dev/dsp", O_WRONLY, 0)) == -1) {
       if ((fd = open("/dev/pcaudio", O_RDWR, 0)) == -1) {
         UNIDENTMSG;
         return AuFalse;

Jean-Marc

 > -- 
 > The views expressed above are not those of the Worker's Compensation Board of
 > Queensland, Australia.
 _____________________________________________________________________________
 Jean-Marc Zucconi       Observatoire de Besancon       F 25010 Besancon cedex
                   PGP Key: finger jmz@cabri.obs-besancon.fr
 =============================================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9605011439.AA14682>