From owner-freebsd-multimedia@FreeBSD.ORG Sat Apr 22 17:42:19 2006 Return-Path: X-Original-To: multimedia@FreeBSD.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75F0416A400; Sat, 22 Apr 2006 17:42:19 +0000 (UTC) (envelope-from marcus@FreeBSD.org) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67B3B43D49; Sat, 22 Apr 2006 17:42:18 +0000 (GMT) (envelope-from marcus@FreeBSD.org) Received: from shumai.marcuscom.com (shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.13.6/8.13.6) with ESMTP id k3MHhLnH099684; Sat, 22 Apr 2006 13:43:21 -0400 (EDT) (envelope-from marcus@FreeBSD.org) From: Joe Marcus Clarke To: Ariff Abdullah In-Reply-To: <20060423013318.3fb0361c.ariff@FreeBSD.org> References: <1145688631.805.11.camel@shumai.marcuscom.com> <20060423013318.3fb0361c.ariff@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Dzy5IePatmyUs2Tj/6cz" Organization: FreeBSD, Inc. Date: Sat, 22 Apr 2006 13:42:17 -0400 Message-Id: <1145727737.15851.2.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Cc: multimedia@FreeBSD.org Subject: Re: Questions on mixer recindex settings X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Apr 2006 17:42:19 -0000 --=-Dzy5IePatmyUs2Tj/6cz Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2006-04-23 at 01:33 +0800, Ariff Abdullah wrote: > On Sat, 22 Apr 2006 02:50:31 -0400 > Joe Marcus Clarke wrote: > > One of the GNOME users reported that the gnome-volume-control app > > (GUI mixer) was putting output tracks (e.g. Volume, Phone-out, etc.) > > on the input page, and input tracks (e.g. Record, In-gain, etc.) on > > the output page. I looked at the source for setting up the ac97 > > mixer, and the recindex values don't make sure sense. This is what > > is there currently: > >=20 > > SOUND_MIXER_VOLUME --> 6, > > SOUND_MIXER_OGAIN --> 0 > > SOUND_MIXER_PHONEOUT --> 7, > > SOUND_MIXER_BASS --> 0, > > SOUND_MIXER_TREBLE --> 0, > > SOUND_MIXER_PCM --> 0, > > SOUND_MIXER_SPEAKER --> 0, > > SOUND_MIXER_LINE --> 5, > > SOUND_MIXER_PHONEIN --> 8, > > SOUND_MIXER_MIC --> 1, > > SOUND_MIXER_IGAIN --> 0, > > SOUND_MIXER_CD --> 2, > > SOUND_MIXER_LINE1 --> 4, > > SOUND_MIXER_VIDEO --> 3, > > SOUND_MIXER_RECLEV --> 0 > >=20 > > Shouldn't SOUND_MIXER_IGAIN and SOUND_MIXER_RECLEV be non-zero, and > > shouldn't SOUND_MIXER_VOLUME and SOUND_MIXER_PHONEOUT be 0?=09 > >=20 >=20 > It actually does make a perfect sense. A non-zero recidx means that > the driver/applications can use it as a recording/input source since > that particular dev capable of providing sound sources to be recorded. >=20 > You cannot record anything from SOUND_MIXER_RECLEV since it doesn't > provide sound of its own, unlike SOUND_MIXER_VOLUME/PHONEOUT/CD/etc. >=20 > Make sense, right? Yes, that does make sense. Just a little strange when you see the tracks separated out the way gnome-volume-control does it. Thanks for the response. Joe --=20 Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome --=-Dzy5IePatmyUs2Tj/6cz Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBESmr5b2iPiv4Uz4cRAroDAJ9kDqedXMUArWgLD6NQIIpS1lzivwCfdPrm NZAO4Z+Ixpjb9nPzmVKluZM= =nLrz -----END PGP SIGNATURE----- --=-Dzy5IePatmyUs2Tj/6cz--