From owner-freebsd-multimedia Tue Jun 25 16:29:11 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from hotmail.com (f255.law9.hotmail.com [64.4.8.130]) by hub.freebsd.org (Postfix) with ESMTP id 712AB37B404 for ; Tue, 25 Jun 2002 16:29:08 -0700 (PDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 25 Jun 2002 16:29:08 -0700 Received: from 68.4.57.222 by lw9fd.law9.hotmail.msn.com with HTTP; Tue, 25 Jun 2002 23:29:08 GMT X-Originating-IP: [68.4.57.222] From: "Chuck T." To: multimedia@freebsd.org, dunkelkammer@gmx.de Subject: Re: input from /dev/audio broken ? Date: Tue, 25 Jun 2002 16:29:08 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 25 Jun 2002 23:29:08.0256 (UTC) FILETIME=[1A5ECA00:01C21CA0] Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >I'd be happy if I heard _anything_. ;) I have made some progress. It turns out that input from /dev/audio *WAS* broken in 4.4R (as documented in CVS and the source for feeder.c). It returns native device audio, not mulaw. I guess it worked if your device was natively mulaw which my sb AWE32 certainly isn't. It's fixed in 4.6, but for some reason you can no longer cat /dev/audio to /dev/audio. Once I tried speakfreely under 4.6 the audio worked somewhat. Since I only have a virgin install of 4.6 I've returned my focus to 4.4. I was finally able to the audio to work with 4.4 by using /dev/dspW instead of /dev/audio. My CCFLAGS is set as follows: --- snip --- CCFLAGS = -DM_LITTLE_ENDIAN -DAUDIO_BLOCKING -DIN_AUDIO_DEV=\"/dev/dspW\" -DOUT_AUDIO_DEV=\"/dev/dspW\" -DNEEDED_LINEAR --- snip --- Speakfreely now sends good audio in both directions. It still not working completely correctly, but I'm getting closer. The biggest problem (other than device busys) is the sound buffer flushing code isn't working correctly. When I hit the space bar it sends a bunch of audio that was captured while I was "paused". _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message