From owner-freebsd-multimedia@FreeBSD.ORG Mon Dec 16 00:12:38 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 03B66B3E for ; Mon, 16 Dec 2013 00:12:38 +0000 (UTC) Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:2:6]) by mx1.freebsd.org (Postfix) with ESMTP id 8D73F1F6F for ; Mon, 16 Dec 2013 00:12:37 +0000 (UTC) Received: from ppp121-45-108-103.lns20.adl6.internode.on.net (HELO leader.local) ([121.45.108.103]) by ipmail06.adl2.internode.on.net with ESMTP; 16 Dec 2013 10:42:36 +1030 Message-ID: <52AE4572.3010208@ShaneWare.Biz> Date: Mon, 16 Dec 2013 10:42:34 +1030 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Julian Stecklina , Randy Pratt Subject: Re: Weird volume behaviour on 10.0-BETA4 References: <1386368340.4331.8.camel@janus.xn--pl-wia.net> <52A2BB67.5060809@ShaneWare.Biz> <99e48466-97d3-415b-a9ee-28ae8cbc4655@email.android.com> <20131207125515.952ad3bd4fa6c4e94e4d6b4d@embarqmail.com> <1387104264.24980.2.camel@janus.xn--pl-wia.net> In-Reply-To: <1387104264.24980.2.camel@janus.xn--pl-wia.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Dec 2013 00:12:38 -0000 On 15/12/2013 21:14, Julian Stecklina wrote: > On Sa, 2013-12-07 at 12:55 -0500, Randy Pratt wrote: >> I added it to /etc/sysctl.conf: >> >> #Added to prevent mixer from resetting sound levels to default >> hw.snd.vpc_autoreset=0 > > This did the trick for me. Volume now stays consistent between song > changs in mpd (musicpd). > > I have the feeling the this violates the Principle of Least Astonishment > for most users of mpd. What would be the correct solution here? Having > FreeBSD-specific code in mpd that resets the volume after re-opening the > sound device? > > Julian > > This also fixes vlc volume changing.