From owner-freebsd-multimedia Wed Dec 1 10:24:43 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from cr1003333-a.crdva1.bc.home.com (cr1003333-a.crdva1.bc.wave.home.com [24.113.51.240]) by hub.freebsd.org (Postfix) with ESMTP id 2C5DE14D0F for ; Wed, 1 Dec 1999 10:24:41 -0800 (PST) (envelope-from pangolin@home.com) Received: from cr1003333-a.crdva1.bc.wave.home.com. (localhost [127.0.0.1]) by cr1003333-a.crdva1.bc.home.com (8.9.3/8.9.3) with ESMTP id KAA01134; Wed, 1 Dec 1999 10:24:34 -0800 (PST) (envelope-from pangolin@home.com) Message-Id: <199912011824.KAA01134@cr1003333-a.crdva1.bc.home.com> X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <19991201123113.A12378@enst.fr> Date: Wed, 01 Dec 1999 10:24:34 -0800 (PST) Reply-To: Jonathan Hanna Organization: Pangolin Systems From: Jonathan Hanna To: Pierre Beyssac Subject: RE: problems with vat under newpcm Cc: freebsd-multimedia@FreeBSD.ORG Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 01-Dec-99 Pierre Beyssac wrote: > Hmm, I have been able to gather some more details on the problem > with vat+newpcm I mentioned yesterday on -current. > > If I compile vat to open /tmp/audio (and remove all sound ioctl > and non-blocking stuff) instead of having it open /dev/audio, then > run a "cat /tmp/audio > /dev/audio", the sound comes ok. > > On the other hand, if I replace the code in vat with a popen("cat >> /dev/audio") and a call fileno() to get the fd, vat still doesn't > work (only very random fractions of sound). > > Any ideas what might be wrong? As I said earlier, amp and mpg123 work > fine... > -- > Pierre Beyssac pb@enst.fr Similar behavior here with: pcm0: at irq 5 drq 1 flags 0x10 on isa0 (SoundBlaster AWE32 of some sort) When doing cat "file > /dev/audio" the DMA size is set up once and not much has to happen on the DMA end interrupt. In other cases, the DMA size needs to be reset in the handler. I have no idea if that has anything to do with it. Jonathan Hanna To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message