Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Apr 1999 13:50:48 +0200 (MET DST)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        aa8vb@ipass.net (Randall Hopper)
Cc:        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:  <199904171150.NAA16620@labinfo.iet.unipi.it>
In-Reply-To: <19990417094238.A3349@ipass.net> from "Randall Hopper" at Apr 17, 99 09:42:19 am

next in thread | previous in thread | raw e-mail | index | archive | help
>      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.

	cheers
	luigi
-----------------------------------+-------------------------------------
  Luigi RIZZO                      .
  EMAIL: luigi@iet.unipi.it        . Dip. di Ing. dell'Informazione
  HTTP://www.iet.unipi.it/~luigi/  . Universita` di Pisa
  TEL/FAX: +39-050-568.533/522     . via Diotisalvi 2, 56126 PISA (Italy)
-----------------------------------+-------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904171150.NAA16620>