From owner-freebsd-multimedia@FreeBSD.ORG Wed Mar 20 10:06:06 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4AA01E34 for ; Wed, 20 Mar 2013 10:06:06 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) by mx1.freebsd.org (Postfix) with ESMTP id CE9C2B6E for ; Wed, 20 Mar 2013 10:06:05 +0000 (UTC) Received: by mail-wi0-f176.google.com with SMTP id hm14so5027305wib.15 for ; Wed, 20 Mar 2013 03:06:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=wEzcge/ZzZh80ceA0clK9XR2Ech1JDopUKbMB/wM7Vw=; b=nfbuQ8RQkKUPHitwVqH+Tsoal8O+YKlHb/Q3dvgP0KjoCsAgqllfX6PKFiyPX9VfU6 HzBuSjhdOdbI+wGe9jq3Vidf3BOjLCGvWwrSZGpxcj1WFDxUbp6f+t2E3m8G8yjfCVsg vR/XfgR0wfzliapS1fuI+PjmRDsUX5gG9Cxlh8/Uiu+4MkwXlqIUtpLoarXPnChT8M8u hia2vF+LpE8XP749BDulRom5e2t1vQGlzaOISVmGDSSn1FgEoKsgm4H/FCJJB4QuFe+w NBiQRVWMqYs0y8fDm84JULaOjv0vcnAGt/66Gov2aG4VCBB7IXK9HK/Bfhlu/dp1NQAj cWfw== MIME-Version: 1.0 X-Received: by 10.180.84.165 with SMTP id a5mr2590846wiz.6.1363773965052; Wed, 20 Mar 2013 03:06:05 -0700 (PDT) Received: by 10.194.60.147 with HTTP; Wed, 20 Mar 2013 03:06:04 -0700 (PDT) In-Reply-To: <511171A0.5060000@gmail.com> References: <51015592.7080807@gmail.com> <511171A0.5060000@gmail.com> Date: Wed, 20 Mar 2013 11:06:04 +0100 Message-ID: Subject: Re: Fwd: Disable monitor recording source From: David Demelier To: Stuart Barkley Content-Type: text/plain; charset=UTF-8 Cc: freebsd-multimedia@freebsd.org X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Mar 2013 10:06:06 -0000 2013/2/5 David Demelier : > On 05/02/2013 15:20, Stuart Barkley wrote: >> On Tue, 5 Feb 2013 at 05:22 -0000, David Demelier wrote: >> >>> Hello (sorry for forwarding but I didn't have much answers), >> >> This is probably the best place for this question. >> >>> I would like to record only from mic but I can't remove monitor from >>> recording : >>> >>> markand@Melon ~ $ cat /dev/sndstat >>> FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) >>> Installed devices: >>> pcm0: (play) >>> pcm1: (play/rec) default >>> markand@Melon ~ $ mixer >>> Mixer vol is currently set to 90:90 >>> Mixer pcm is currently set to 90:90 >>> Mixer speaker is currently set to 0:0 >>> Mixer mic is currently set to 90:90 >>> Mixer rec is currently set to 80:80 >>> Mixer igain is currently set to 0:0 >>> Mixer ogain is currently set to 100:100 >>> Mixer monitor is currently set to 80:80 >>> Recording source: mic, monitor >>> markand@Melon ~ $ mixer -rec monitor >>> Recording source: mic, monitor >>> markand@Melon ~ $ >>> >>> What I'm doing wrong? >> >> A couple simple thoughts: >> >> I've always used something like 'mixer =rec mic'. Have you tried >> that? >> >> Does recording work at all? When you record do you get a mix of the >> mic and the monitor channels? >> >> You might also try 'mixer monitor 0' to just mute monitor in the mix. >> >> Stuart >> > > I also tried both command you said, mixer monitor 0 will completely > disable record, no audio input will be recorded, thus I'm guessing if my > mic line is correctly configure with my snd_hda(4) setup. > > Unfortunately the command mixer =rec mic does not work neither. > > Cheers, > David Fixed, in fact my /boot/devices.hints had some hints for snd_hda (headphone) and they were old, I fixed it and everything works. Plugging the mic disable the "onscreen" integraded microphone and it's perfect :) Regards, -- Demelier David