From owner-freebsd-multimedia@FreeBSD.ORG Sat Apr 22 17:33:24 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 8CA4C16A403; Sat, 22 Apr 2006 17:33:24 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4ED3443D48; Sat, 22 Apr 2006 17:33:24 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from misaki (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with SMTP id k3MHXMdR084501; Sat, 22 Apr 2006 17:33:23 GMT (envelope-from ariff@FreeBSD.org) Date: Sun, 23 Apr 2006 01:33:18 +0800 From: Ariff Abdullah To: Joe Marcus Clarke Message-Id: <20060423013318.3fb0361c.ariff@FreeBSD.org> In-Reply-To: <1145688631.805.11.camel@shumai.marcuscom.com> References: <1145688631.805.11.camel@shumai.marcuscom.com> Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Sun__23_Apr_2006_01_33_18_+0800_8D98iVHSw3XS8qnv" 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:33:24 -0000 --Signature=_Sun__23_Apr_2006_01_33_18_+0800_8D98iVHSw3XS8qnv Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 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. You cannot record anything from SOUND_MIXER_RECLEV since it doesn't provide sound of its own, unlike SOUND_MIXER_VOLUME/PHONEOUT/CD/etc. Make sense, right? -- Ariff Abdullah FreeBSD --Signature=_Sun__23_Apr_2006_01_33_18_+0800_8D98iVHSw3XS8qnv Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFESmjhlr+deMUwTNoRAm1SAJ9D84hy9Hv4P7v1O0byEkVVwl17xACfZjTi Ih83cEuQiycVuTFPlw4Ay3c= =srq3 -----END PGP SIGNATURE----- --Signature=_Sun__23_Apr_2006_01_33_18_+0800_8D98iVHSw3XS8qnv--