From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rene Herman Subject: Re: [PATCH] wss_lib: snd_wss_calibrate_mute improvement Date: Mon, 18 Aug 2008 10:50:15 +0200 Message-ID: <48A937C7.2040600@keyaccess.nl> References: <20080817223827.d3250ef5.krzysztof.h1@poczta.fm> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from smtpq2.groni1.gr.home.nl (smtpq2.groni1.gr.home.nl [213.51.130.201]) by alsa0.perex.cz (Postfix) with ESMTP id D59AC243FD for ; Mon, 18 Aug 2008 10:49:19 +0200 (CEST) In-Reply-To: <20080817223827.d3250ef5.krzysztof.h1@poczta.fm> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Krzysztof Helt Cc: Alsa-devel List-Id: alsa-devel@alsa-project.org On 17-08-08 22:38, Krzysztof Helt wrote: > From: Krzysztof Helt > > Mute sound by setting mute bit without > setting volume to 0. It makes both source code > and binary shorter. > > Signed-off-by: Krzysztof Helt Grmmbbled-over-by: Rene Herman This should be safe and the current function indeed generates crap code but in the sense of always expecting the worst broken hardware variants to be out there I must say I'd rather have seen that GCC were beter. But yes, sure. Rene.