From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263487AbTDYRrl (ORCPT ); Fri, 25 Apr 2003 13:47:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263488AbTDYRrl (ORCPT ); Fri, 25 Apr 2003 13:47:41 -0400 Received: from franka.aracnet.com ([216.99.193.44]:33668 "EHLO franka.aracnet.com") by vger.kernel.org with ESMTP id S263487AbTDYRrj (ORCPT ); Fri, 25 Apr 2003 13:47:39 -0400 Date: Fri, 25 Apr 2003 10:59:29 -0700 From: "Martin J. Bligh" To: Werner Almesberger , Alan Cox cc: Pat Suwalski , Jamie Lokier , Matthias Schniedermeyer , Marc Giger , Linux Kernel Mailing List Subject: Re: [Bug 623] New: Volume not remembered. Message-ID: <427040000.1051293569@[10.10.2.4]> In-Reply-To: <20030425144449.X3557@almesberger.net> References: <20030423231149.I3557@almesberger.net> <25450000.1051152052@[10.10.2.4]> <20030424003742.J3557@almesberger.net> <20030424071439.GB28253@mail.jlokier.co.uk> <20030424103858.M3557@almesberger.net> <20030424213632.GK30082@mail.jlokier.co.uk> <20030424205515.T3557@almesberger.net> <3EA87BE1.1070107@suwalski.net> <20030425074116.V3557@almesberger.net> <1051265094.5573.8.camel@dhcp22.swansea.linux.org.uk> <20030425144449.X3557@almesberger.net> X-Mailer: Mulberry/2.2.1 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org >> The OSS audio drivers ac97 code now starts up with record muted. > > Okay, so I guess this will then cover all cases ? (Changebar > marks OSS addition.) > > ALSA (Advanced Linux Sound Architecture) is now the preferred > architecture for sound support, instead of the older OSS (Open > Sound System). Note that, in ALSA, all volume settings default >| to zero, and all channels default to being "muted". Also some >| OSS drivers in 2.5 initialize certain mixer settings to zero. > > User space therefore needs to explicitly increase the volume, > and "unmute" the respective audio channels before any sound > can be heard. > > Mixers not explicitly supporting the "mute" functionality will > usually "unmute" sources when setting the volume to a value > above zero. > > More information about ALSA, including configuration and OSS > compatibility, can be found in Documentation/sound/alsa/ > > (I guess a simpler rule would be "if there's no sound, check the > mixer - and you don't want to know why you have to do this" :-) BTW, I realised there's a much simpler solution to the "but there's no sound coming out" problem .... xmms and friends should just give the user a warning on startup (or on play) if the main volume or pcm channel is at 0 (or muted). M.