From owner-freebsd-multimedia Sun Apr 18 8:45:32 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (Postfix) with ESMTP id EC2181516B for ; Sun, 18 Apr 1999 08:45:24 -0700 (PDT) (envelope-from andre.albsmeier@mchp.siemens.de) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer david.siemens.de) Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by david.siemens.de (8.9.3/8.9.3) with ESMTP id RAA01670 for ; Sun, 18 Apr 1999 17:43:36 +0200 (MET DST) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [146.180.31.23]) by mail1.siemens.de (8.9.3/8.9.3) with ESMTP id RAA27501 for ; Sun, 18 Apr 1999 17:42:33 +0200 (MET DST) Received: (from daemon@localhost) by curry.mchp.siemens.de (8.9.3/8.9.3) id RAA27229 for ; Sun, 18 Apr 1999 17:42:58 +0200 (CEST) Date: Sun, 18 Apr 1999 17:42:54 +0200 From: Andre Albsmeier To: Luigi Rizzo Cc: Randall Hopper , andre.albsmeier@mchp.siemens.de, freebsd-multimedia@FreeBSD.ORG Subject: Re: Reason why fxtv can't capture audio with Luigi's sound code... Message-ID: <19990418174254.C98216@internal> References: <19990417094238.A3349@ipass.net> <199904171150.NAA16620@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <199904171150.NAA16620@labinfo.iet.unipi.it>; from Luigi Rizzo on Sat, Apr 17, 1999 at 01:50:48PM +0200 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, 17-Apr-1999 at 13:50:48 +0200, Luigi Rizzo wrote: > > Hi. Yes, in the Voxware world, the way to test whether the soundcard > > supported an audio format was to try to activate it, and verify that the > > return value of the ioctl matched what you passed in. If it didn't, then > ... > > It looks like this is just a small compatibility wrinkle in Luigi's > > drivers that hopefully is easy to smooth out. Given that the change you > > described below got it working, then SNDCTL_DSP_SETFMT is the only one of > > the four ioctl's not returning the requested value if the request succeeds > > (for the format you're trying to establish at least). > > > > (Ccing Luigi in case he missed your post.) > > roger... > > the thing is, if i remember well, that i had to extend the > SNDCTL_DSP_SETFMT to take care of cards which have some restriction on > full-duplex operation (surprise surprise, SB16...). > The one (or two, don't remember) bits i added do not correspond to any > existing format for what matters, so perhaps one might mask them off. I see, thanks for your replies. I will gladly test anything you want me to. I am on holidays starting on tuesday but all you send me won't get lost :-) -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message