From owner-freebsd-multimedia@FreeBSD.ORG Thu Jan 31 13:29:12 2008 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A66A416A53A for ; Thu, 31 Jan 2008 13:29:12 +0000 (UTC) (envelope-from aragon@phat.za.net) Received: from mail.geek.sh (decoder.geek.sh [196.36.198.81]) by mx1.freebsd.org (Postfix) with ESMTP id EEBFB13C447 for ; Thu, 31 Jan 2008 13:29:11 +0000 (UTC) (envelope-from aragon@phat.za.net) Received: by mail.geek.sh (Postfix, from userid 1000) id 905F324D29; Thu, 31 Jan 2008 15:29:09 +0200 (SAST) Date: Thu, 31 Jan 2008 15:29:09 +0200 From: Aragon Gouveia To: freebsd-multimedia@freebsd.org Message-ID: <20080131132909.GA68344@phat.za.net> References: <20080131121005.GA62806@phat.za.net> <20080131141903.q3lw3nsqf44c0cwg@webmail.leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080131141903.q3lw3nsqf44c0cwg@webmail.leidinger.net> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 4.10-RELEASE-p2 i386 Subject: Re: Handling of newly attached pcm devices (eg. via uaudio) 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: Thu, 31 Jan 2008 13:29:12 -0000 | By Alexander Leidinger | [ 2008-01-31 15:19 +0200 ] > activated by default. So whatever you submit as a PR should contain > something which has a look at rc.conf (and the other config files) and > only do something if it is explicitly activated there. Glad I thought of that then. Already part of what I've written. :) In my implementation I have 'pcm_defaulthot="YES"' in my rc.conf to enable it. > It should also > be able to not fail if the attached device is the only sound device > (so on removal of the only sound device, it should not fall on the > nose or spit out a lot of messages). I don't think that will be problem. Thanks, Aragon