From owner-freebsd-multimedia@FreeBSD.ORG Sun Dec 15 10:44:38 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CCA21B62 for ; Sun, 15 Dec 2013 10:44:38 +0000 (UTC) Received: from os.inf.tu-dresden.de (os.inf.tu-dresden.de [IPv6:2002:8d4c:3001:48::99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8E1D61ACC for ; Sun, 15 Dec 2013 10:44:38 +0000 (UTC) Received: from [188.103.236.199] (helo=[192.168.178.35]) by os.inf.tu-dresden.de with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.82) id 1Vs9BW-000615-1A; Sun, 15 Dec 2013 11:44:30 +0100 Message-ID: <1387104264.24980.2.camel@janus.xn--pl-wia.net> Subject: Re: Weird volume behaviour on 10.0-BETA4 From: Julian Stecklina To: Randy Pratt Date: Sun, 15 Dec 2013 11:44:24 +0100 In-Reply-To: <20131207125515.952ad3bd4fa6c4e94e4d6b4d@embarqmail.com> 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> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.2 (3.10.2-2.fc20) Mime-Version: 1.0 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: Sun, 15 Dec 2013 10:44:38 -0000 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