From owner-freebsd-multimedia Wed Aug 15 23: 1:40 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from tomts13-srv.bellnexxia.net (tomts13.bellnexxia.net [209.226.175.34]) by hub.freebsd.org (Postfix) with ESMTP id D457C37B40C for ; Wed, 15 Aug 2001 23:01:35 -0700 (PDT) (envelope-from anarcat@anarcat.dyndns.org) Received: from khan.anarcat.dyndns.org ([65.92.160.228]) by tomts13-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20010816060134.TEQS28468.tomts13-srv.bellnexxia.net@khan.anarcat.dyndns.org>; Thu, 16 Aug 2001 02:01:34 -0400 Received: from shall.anarcat.dyndns.org (shall.anarcat.dyndns.org [192.168.0.1]) by khan.anarcat.dyndns.org (Postfix) with ESMTP id 7798A193E; Thu, 16 Aug 2001 02:02:28 -0400 (EDT) Received: by shall.anarcat.dyndns.org (Postfix, from userid 1000) id 199BD20AC9; Thu, 16 Aug 2001 02:02:28 -0400 (EDT) Date: Thu, 16 Aug 2001 02:02:28 -0400 From: The Anarcat To: Cameron Grant Cc: freebsd-multimedia@freebsd.org Subject: Re: Test record program triggers pcm problems on -stable (was: Re: kern/21438: Sox recording in 16 bits creates a panic: no feed) Message-ID: <20010816020228.B3827@shall.anarcat.dyndns.org> References: <3ADB420A.B1B696A4@lmc.ericsson.se> <005901c0c6aa$4ec49560$0504020a@haveblue> <3ADB4835.E34532A5@lmc.ericsson.se> <007301c0c6af$4d399650$0504020a@haveblue> <20010815171514.B471@shall.anarcat.dyndns.org> <004f01c1260d$ef694b10$0504020a@haveblue> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jho1yZJdad60DJr+" Content-Disposition: inline In-Reply-To: <004f01c1260d$ef694b10$0504020a@haveblue> User-Agent: Mutt/1.3.20i 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 --jho1yZJdad60DJr+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, 16 Aug 2001, Cameron Grant wrote: > >ie, params->r_channels is *changed* from 2 to 1. Same goes for r_rate. I > >do not understand that behavior. >=20 > the SNDCTL_READ_*/SNDCTL_WRITE* ioctls do not do what you think they do. Great! Thanks for the hint! I've updated the program on the webpage (see earlier post). Now we only have 2. left. :) > the oss api does not support asymmetric settings for record and play. > SNDCTL_READ_* return the current settings; SNDCTL_WRITE* change the > settings. these ioctls are deprecated. the Right way to use the oss api= is > documented in http://www.opensound.com/pguide/oss.pdf Unfortunatly, I can't access that from here (timeout). Would you have a copy around? Is the new API planned to be documented in manpages (or is it already)? Thanks again, A. --jho1yZJdad60DJr+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjt7YfMACgkQttcWHAnWiGde8wCeLOoxPPNVQvsEbV7oM+EJSVPW uzEAoJiIkRHmTw6qn94SU16II4WDC980 =muVl -----END PGP SIGNATURE----- --jho1yZJdad60DJr+-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message