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 (unknown [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 79FE3C3DA7F for ; Sun, 4 Aug 2024 10:19:42 +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 C98C1481A; Sun, 4 Aug 2024 12:19:22 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C98C1481A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1722766772; bh=PL/1DnSYl9TaYtPOKFyTEimnNlOgZV9PF1X4W7zUZ/0=; h=From:To:In-Reply-To:References:Subject:Date:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From; b=blmQxiKLsC4mnbrD1wpoiERzGcsqt7p8l3eW2w04+rXnMfxdCciLFwFJvyeymgnvs 8Q/3ycz/nEeKp5d7E/iSqWdMnO0GY/eEmNrIottTmIsIFvV2N7wc5zWt6Bl+p4I6El Wx7U9/LmDbIYN2Nff8/ORZbARlmCEmajKH0iPkbU= Received: by alsa1.perex.cz (Postfix, from userid 50401) id BFAEAF805C9; Sun, 4 Aug 2024 12:19:01 +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 C8DCCF802DB; Sun, 4 Aug 2024 12:19:00 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id A3C2DF80448; Sun, 4 Aug 2024 12:15:29 +0200 (CEST) Received: from webhooks-bot.alsa-project.org (vmi242170.contaboserver.net [207.180.221.201]) by alsa1.perex.cz (Postfix) with ESMTP id C0EC6F800E3 for ; Sun, 4 Aug 2024 12:15:27 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C0EC6F800E3 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: GitHub issues - edited To: alsa-devel@alsa-project.org In-Reply-To: <1722766527728527308-webhooks-bot@alsa-project.org> References: <1722766527728527308-webhooks-bot@alsa-project.org> Subject: a52 plugin Unknown field card error Message-Id: <20240804101529.A3C2DF80448@alsa1.perex.cz> Date: Sun, 4 Aug 2024 12:15:29 +0200 (CEST) Message-ID-Hash: OCP22QGLWUUTZGD7T2BQXD7QM65T5VZF X-Message-ID-Hash: OCP22QGLWUUTZGD7T2BQXD7QM65T5VZF X-MailFrom: github@alsa-project.org 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.9 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: alsa-project/alsa-lib issue #405 was edited from DocMAX: ``` pcm.a52 { @args [CARD] @args.CARD { type string } type rate slave { pcm { type a52 bitrate 448 channels 6 card $CARD } rate 48000 } } a52:CARD=Adapter USB SPDIF Adapter Plugin to convert multichannel stream to A52 (AC3) bitstream [root@desktop ~]# speaker-test -c6 -Da52 speaker-test 1.2.12 Playback device is a52 Stream parameters are 48000Hz, S16_LE, 6 channels Using 16 octaves of pink noise ALSA lib pcm_rate.c:1701:(_snd_pcm_rate_open) Unknown field card Playback open error: -22,Invalid argument ``` how to fix this error? running arch linux all updated Issue URL : https://github.com/alsa-project/alsa-lib/issues/405 Repository URL: https://github.com/alsa-project/alsa-lib