From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 86D85EB64DC for ; Sun, 25 Jun 2023 08:34:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231783AbjFYIeY (ORCPT ); Sun, 25 Jun 2023 04:34:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229653AbjFYIeV (ORCPT ); Sun, 25 Jun 2023 04:34:21 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46517EE for ; Sun, 25 Jun 2023 01:34:19 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 45764210E7; Sun, 25 Jun 2023 08:34:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1687682047; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=B1pUxDWlFpXN/+3fg58m86ckkHcjVAqB9AZUATH33aE=; b=TXfePj429nUiQHVNJng78PJ5M9doaxX4ZznR2utVYB2UL5c2oJQHrYBW4elBHMq04g4Qk3 bjB5cYxjfapNZB3LwcWuDFH9RsRAcsOf7hMLlsxv+cXPIA1/2YN7yVVmOFyTttPNJrAoNW cnUv7NEqwXVqAAz31Kz0mEdWLPq/MpU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1687682047; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=B1pUxDWlFpXN/+3fg58m86ckkHcjVAqB9AZUATH33aE=; b=2Y5bE/AOdByKI+Zam4b+u7/yBcly9+q8CEdXId0CMo2ENztYy53h+ZUIEtMovLvCN2Fa8f qHA24QKpEMQWnzBA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 1902C13462; Sun, 25 Jun 2023 08:34:07 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id VPMUBf/7l2RiIgAAMHmgww (envelope-from ); Sun, 25 Jun 2023 08:34:07 +0000 Date: Sun, 25 Jun 2023 10:34:06 +0200 Message-ID: <87pm5kvt35.wl-tiwai@suse.de> From: Takashi Iwai To: Matthias Reichl Cc: Jaroslav Kysela , Takashi Iwai , Dom Cobley , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ALSA: pcm: fix ELD constraints for (E)AC3, DTS(-HD) and MLP formats In-Reply-To: <20230624165216.5719-1-hias@horus.com> References: <20230624165216.5719-1-hias@horus.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 24 Jun 2023 18:52:16 +0200, Matthias Reichl wrote: > > The SADs of compressed formats contain the channel and sample rate > info of the audio data inside the compressed stream, but when > building constraints we must use the rates and channels used to > transport the compressed streams. > > eg 48kHz 6ch EAC3 needs to be transmitted as a 2ch 192kHz stream. > > This patch fixes the constraints for the common AC3 and DTS formats, > the constraints for the less common MPEG, DSD etc formats are copied > directly from the info in the SADs as before as I don't have the specs > and equipment to test those. > > Signed-off-by: Matthias Reichl Thanks, applied now. Takashi