From owner-freebsd-multimedia Thu May 2 05:55:51 1996 Return-Path: owner-multimedia Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA23542 for multimedia-outgoing; Thu, 2 May 1996 05:55:51 -0700 (PDT) Received: from cabri.obs-besancon.fr (cabri.obs-besancon.fr [193.52.184.3]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id FAA23515 for ; Thu, 2 May 1996 05:54:40 -0700 (PDT) Received: by cabri.obs-besancon.fr (5.57/Ultrix3.0-C) id AA14682; Wed, 1 May 96 15:39:46 +0100 Date: Wed, 1 May 96 15:39:46 +0100 Message-Id: <9605011439.AA14682@cabri.obs-besancon.fr> From: Jean-Marc Zucconi To: sysseh@devetir.qld.gov.au Cc: freebsd-multimedia@freebsd.org In-Reply-To: <199605010613.GAA29625@netfl15a.devetir.qld.gov.au> (message from Stephen Hocking on Wed, 01 May 1996 16:13:31 +1000) Subject: Re: Network Audio System X-Mailer: Emacs Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >>>>> 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 =============================================================================