From owner-freebsd-questions@FreeBSD.ORG Thu Oct 6 08:39:34 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A65D9106566B for ; Thu, 6 Oct 2011 08:39:34 +0000 (UTC) (envelope-from brandon@301south.net) Received: from ocean.301south.net (ocean.301south.net [98.173.24.155]) by mx1.freebsd.org (Postfix) with ESMTP id 51FB98FC16 for ; Thu, 6 Oct 2011 08:39:34 +0000 (UTC) Received: from 301south.net (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: b) by ocean.301south.net (Postfix) with ESMTPSA id 8932D84712; Thu, 6 Oct 2011 01:39:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=301south.net; s=301south; t=1317890373; bh=LV1epvNQlt4Rqi9qku4zGnA726yBUMoOSeiagIfSQwk=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=G8jOrQ7PTPiTJ1L+BuOteYvdV2iI2nolVEfQEgWM2zClEnierGrIrvr0f4USvD9xe DtaeSziQ1ADcvcyeAftDQ== Date: Thu, 6 Oct 2011 01:39:33 -0700 (PDT) From: Brandon Kuczenski To: Polytropon In-Reply-To: <20111005065033.7f3fd6af.freebsd@edvax.de> Message-ID: References: <20111005065033.7f3fd6af.freebsd@edvax.de> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: snd_hda: how to configure line-in passthrough to line-out? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2011 08:39:34 -0000 On Wed, 5 Oct 2011, Polytropon wrote: > On Tue, 4 Oct 2011 20:58:14 -0700 (PDT), Brandon Kuczenski wrote: >> I'm working on the sound on my system running 8.2-RELEASE. Currently I >> have sound input and output working using snd_hda (i.e. I can record on >> line in, and play it back on line out). >> >> What I would like to do is take the audio coming in on line-in and send it >> back out the line-out "live" without recording it. >> >> Is this easy to do? I'd appreciate any hints. > > I think it is easy to do. If I remember terminology > correctly, the thing you're searching for is MONITOR. > Instead of setting rec source to mic, set it to line, > and increase monitor level. Thanks for your assistance.. unfortunately, setting the mixer levels has not been enough to get a passthrough. Here is my mixer output: Mixer vol is currently set to 1:1 Mixer pcm is currently set to 45:45 Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer cd is currently set to 75:75 Mixer rec is currently set to 75:75 Mixer igain is currently set to 100:100 Mixer ogain is currently set to 50:50 Mixer monitor is currently set to 100:100 Recording source: line I'm using wavplay(1) from the ports collection to record on line-in, and then I can play it back. On playback I can hear it just fine-- it mixes with other outputs on the PCM channel as I would expect. but when the line is "live" it is not being mixed into the output. > The line level should be possible to set independently > of the rec channel setting, so you should be able to > pass through line anyway - at least, that has been the > default ability of sound cards when they became available > for PC. But well... this has been 10... 20... years ago, > and nobody expects simple things to work as simple today > as they did in the past. :-) Indeed, I wonder if it is a hardware capability problem, but I don't know how to try to answer that question.