From owner-freebsd-multimedia Tue Apr 16 03:22:44 1996 Return-Path: owner-multimedia Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA01674 for multimedia-outgoing; Tue, 16 Apr 1996 03:22:44 -0700 (PDT) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id DAA01665 for ; Tue, 16 Apr 1996 03:22:41 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.7.5/8.6.9) with SMTP id DAA25639; Tue, 16 Apr 1996 03:21:05 -0700 (PDT) To: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) cc: multimedia@freebsd.org Subject: Re: Anyone gotten SpeakFreely to work with FreeBSD-current? In-reply-to: Your message of "Tue, 16 Apr 1996 13:37:40 +0400." <199604160937.NAA00335@astral.msk.su> Date: Tue, 16 Apr 1996 03:21:05 -0700 Message-ID: <25637.829650065@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > I notice that Andrey did a port to 2.1-RELEASE, but things appear to > > have changed signficantly enough in the sound driver that this no > > longer works. The `sfspeaker' program works fine, but sfmike is > > unable to open and condition /dev/audio when you "push to talk", so > > you can use SpeakFreely to listen but not to say anything. :-) > > I just test it on -current without any problem. > Do you forget to define HALF_DUPLEX in Makefile? Nope, I tried it both ways - with and without HALF_DUPLEX. Did you also make sure to run sfspeaker in the background before you tried your test? One thing I noticed was that soundinit() was trying to open /dev/audio (which points to /dev/audio0 on my system [major 30, minor 4]) with access mode O_RDONLY. When I try a simple `cat < /dev/audio' I get the same error - it seems that only O_WRONLY works as an open mode, but making that change simply results in the problem moving somewhere a little later with things bitching about an invalid file descriptor. Jordan