Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp14655769rwd; Sun, 25 Jun 2023 01:42:01 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5QbJ31pckp7rTGxND4uErJTrUmsfTaDHDFksrx/y/gqBUqPCV71835lC++40GE/bhzZ5Oa X-Received: by 2002:a9d:6949:0:b0:6b7:2cd2:2651 with SMTP id p9-20020a9d6949000000b006b72cd22651mr5838583oto.31.1687682520790; Sun, 25 Jun 2023 01:42:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687682520; cv=none; d=google.com; s=arc-20160816; b=BRisN+NlV6zz/Q81lDbioTTJIGPLEV4ogl+vAgP58htrh/1vhN4PhG/6hcE6p4urvm cTaRxgA4bXFxuvxSqYx2Xe8EWxsaZ/KejKxz9VX3yToBkYEYOL5RJ+w/QIVWRNAfVf4I Y9sd+b8cEmRtY5vxzq8JVjaXR5Dg9aRlYVZCZcB9rglDTF82kGV283z8tOJtpGGFBhQg t8RYdPjjUm13SLYyyzgArng3V2/ZfmMJq/N3IW6ZCIUQ+r6ddN35EGAEnlqCeUBoQQac It95VJqtO35xzogvJm+7Q+AW91aXnLKtRYMo9tLH5uA/f32yNHwJM10TvHJwMvi6Hrch 25Kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature:dkim-signature; bh=B1pUxDWlFpXN/+3fg58m86ckkHcjVAqB9AZUATH33aE=; fh=rIXP8Xg6EY2MysLnwPjAWqLfGeDFuiLpw2tj3VcZVzk=; b=j9ARzQYoLLfm1pDaeBzbQP3jvW6EBI6tAabm84BF1jFIOYDAr/7e+NK5jH/13eUd/R 8IV58+6wd/DUozKFI2NNhKU9a9g8SiMdmZ7Lz04PveiM3Hyw1/q/L4NXjxYZru6jHx6N Fuhi9nU4Fxk0lMxp1EziLhpkeP6Cyov/sY78h58V3FwRvxzSML6EOcdnZ/lasND6GwC0 Db3JnbSn0eVAYabwvtlUj/SMQnDOdFu6OzD1qqxMRzxHwInWJp2i0peFzvtDYhvn8VUH G334zce2r0AQFtl19DtpNDoJ0f6+bN4Vxa/gEnURcCRvu0XFyD/hdA+eVXxdeIH64gz1 VZYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=TXfePj42; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v202-20020a6361d3000000b0055ad2d6c8b4si288872pgb.800.2023.06.25.01.41.49; Sun, 25 Jun 2023 01:42:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=TXfePj42; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231532AbjFYIeW (ORCPT + 99 others); Sun, 25 Jun 2023 04:34:22 -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 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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