Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C2ACEC77B75 for ; Mon, 15 May 2023 09:08:25 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id CBCBE822; Mon, 15 May 2023 11:07:32 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz CBCBE822 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1684141702; bh=u9dXxhrKYt+fKpShcWN8cExjKolJcb0+ZWf2/GFzG4Y=; h=Date:To:Cc:References:From:Subject:In-Reply-To:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=QMEAwQrBnssU2BGDjcR3K2v4RuEC/KdZ4wbl21kjR+mVOZHmBf6uX6rPVMhLETlO9 SdHYI7HgzP+kgc71wKe856HH8aJWghWHoSzqgS4sXWP3wLHenHMCZ1r885rcYAWfB+ 2sDpVbJq0nCUKWOqLzkZD0fsdKT3B6mEjcCyW0hU= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 94846F8016A; Mon, 15 May 2023 11:07:10 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 57234F80431; Mon, 15 May 2023 11:07:10 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id CA916F80272; Mon, 15 May 2023 11:07:05 +0200 (CEST) Received: from mail1.perex.cz (mail1.perex.cz [77.48.224.245]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 3BBEDF8024E for ; Mon, 15 May 2023 11:06:58 +0200 (CEST) Received: from mail1.perex.cz (localhost [127.0.0.1]) by smtp1.perex.cz (Perex's E-mail Delivery System) with ESMTP id 9A2811E3A; Mon, 15 May 2023 11:06:57 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.perex.cz 9A2811E3A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=perex.cz; s=default; t=1684141617; bh=S/hW5EL+RDLU02V6a/Yqqg5HnuY++wu2fGBIyTlZmpc=; h=Date:To:Cc:References:From:Subject:In-Reply-To:From; b=d4El1ktRcDoCF1fbEfSCVGMnUg7XLQkgPL39w9qh1fwWTvloQmykDjIBn6VCXaQMl cPtALkZ/S3H2R6C2kRgl8Uq7i1XW5b8jU4EneiXB/dug960BRc0kTk9UeyMcK7v6kF ywTBai5H5rCV5LFeqCBcE3sME48Nje9WEAjLzimY= Received: from [192.168.100.98] (unknown [192.168.100.98]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: perex) by mail1.perex.cz (Perex's E-mail Delivery System) with ESMTPSA; Mon, 15 May 2023 11:06:54 +0200 (CEST) Message-ID: Date: Mon, 15 May 2023 11:06:54 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Content-Language: en-US To: Oswald Buddenhagen , alsa-devel@alsa-project.org Cc: Takashi Iwai References: <20230515084106.3447657-1-oswald.buddenhagen@gmx.de> From: Jaroslav Kysela Subject: Re: [PATCH 1/2] pcm: hw: reinterpret the drain_silence setting In-Reply-To: <20230515084106.3447657-1-oswald.buddenhagen@gmx.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Message-ID-Hash: Z7SMOD3E6HE5ZGXV4JVSA4REPELD54G4 X-Message-ID-Hash: Z7SMOD3E6HE5ZGXV4JVSA4REPELD54G4 X-MailFrom: perex@perex.cz X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On 15. 05. 23 10:41, Oswald Buddenhagen wrote: > It makes no sense to have a config option which determines the entire > silencing time, because useful values strongly depend on the period size > runtime setting. I would prefer a drain silence mode configuration field for this, if the interpretation of the positive value is different. The current value is easy to understand and it's really a corner case to not use the default (auto) code. Even the period time may be forced in the configuration, so users can compute the right value themselves. Jaroslav -- Jaroslav Kysela Linux Sound Maintainer; ALSA Project; Red Hat, Inc.