From owner-freebsd-questions@FreeBSD.ORG Wed Oct 5 04:50:36 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 67D331065677 for ; Wed, 5 Oct 2011 04:50:36 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 2A8178FC15 for ; Wed, 5 Oct 2011 04:50:35 +0000 (UTC) Received: from r56.edvax.de (port-92-195-41-66.dynamic.qsc.de [92.195.41.66]) by mx01.qsc.de (Postfix) with ESMTP id 5C81F3D1B4; Wed, 5 Oct 2011 06:50:34 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id p954oXPt002338; Wed, 5 Oct 2011 06:50:33 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 5 Oct 2011 06:50:33 +0200 From: Polytropon To: Brandon Kuczenski Message-Id: <20111005065033.7f3fd6af.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2011 04:50:36 -0000 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. 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. :-) On the line out channel, all input should be "accumulated" according to the individual levels (pcm, line in, mic); the setting which source to _record_ from is handled independently. Refer to "man mixer" on how to set the levels as you require. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...