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 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 D6626C001DF for ; Tue, 25 Jul 2023 10:06:47 +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 8E90EE8A; Tue, 25 Jul 2023 12:05:55 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 8E90EE8A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1690279605; bh=WK1FB3qI9Kca+XdK/NcT0nrym8JzqNJv1nRC+lhao+o=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=Elc+vWPL4J01pM2aJr7t75jaKnoielqHk1oRHanGppZv7Ie6tzw48nyHbDZrddD3e uJ+ndGwqhCLynp+I6id3w/YqAiI1XNqaii+kV8H3x54oBw1inEopxnDTrdE69yzUEF O4Keuj8Ql2N0N7abrOLEfOts3zJ2tqGoasRF1+rc= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 77F47F80153; Tue, 25 Jul 2023 12:05:49 +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 039BCF80520; Tue, 25 Jul 2023 12:05:49 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 633D6F80163; Tue, 25 Jul 2023 12:05:44 +0200 (CEST) Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) (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 3B109F80149 for ; Tue, 25 Jul 2023 12:05:40 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 3B109F80149 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=kLqHOoKW; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=1Og+a5iQ 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-out2.suse.de (Postfix) with ESMTPS id 9359B1F74D; Tue, 25 Jul 2023 10:05:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1690279540; 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=ffIVx/0irLZ6QeL71Ci+G/BkmbsNoisvAqsp8tTW3Dc=; b=kLqHOoKW5NmQwYDantmrqvXJmW9Uq1Spb/ZdrAyxHXulidqW/zNSNTdpictKuCRL2hHhUF pZ7sE7bErPMEPsgh2VtZHdlzrjjHDJeo+nI/wm1DOLrXOiVPCbxFMcOs7odYHr18DZbOPZ lSV6xhSm23EkAHwPaWL8S871gV47/CY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1690279540; 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=ffIVx/0irLZ6QeL71Ci+G/BkmbsNoisvAqsp8tTW3Dc=; b=1Og+a5iQVu1ykX6tlxy5davGFwJnqgaXQ9zxBkyoCZKXOzWlhjZ1RlujAnuCLdsWHZdYzn HQw2b0SqfTo3khBw== 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 5243D13342; Tue, 25 Jul 2023 10:05:40 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 2JvSEnSev2SIbwAAMHmgww (envelope-from ); Tue, 25 Jul 2023 10:05:40 +0000 Date: Tue, 25 Jul 2023 12:05:39 +0200 Message-ID: <87sf9ctifg.wl-tiwai@suse.de> From: Takashi Iwai To: Robert Lee Cc: vkoul@kernel.org, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ALSA: compress: add opus codec define In-Reply-To: <20230725093005.3499455-1-lerobert@google.com> References: <20230725093005.3499455-1-lerobert@google.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 Message-ID-Hash: UA2HNH4EUVPZL6RKD22DHVDAHEYPGZZE X-Message-ID-Hash: UA2HNH4EUVPZL6RKD22DHVDAHEYPGZZE X-MailFrom: tiwai@suse.de 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 Tue, 25 Jul 2023 11:30:05 +0200, Robert Lee wrote: > > Add to support decode Opus codec in Ogg container. > > Signed-off-by: Robert Lee The change makes sense only when it's really used. So usually it's better to put into a series that actually implements its usage. thanks, Takashi > --- > include/uapi/sound/compress_params.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/include/uapi/sound/compress_params.h b/include/uapi/sound/compress_params.h > index ddc77322d571..bac5797bcb02 100644 > --- a/include/uapi/sound/compress_params.h > +++ b/include/uapi/sound/compress_params.h > @@ -43,7 +43,8 @@ > #define SND_AUDIOCODEC_BESPOKE ((__u32) 0x0000000E) > #define SND_AUDIOCODEC_ALAC ((__u32) 0x0000000F) > #define SND_AUDIOCODEC_APE ((__u32) 0x00000010) > -#define SND_AUDIOCODEC_MAX SND_AUDIOCODEC_APE > +#define SND_AUDIOCODEC_OPUS ((__u32) 0x00000011) > +#define SND_AUDIOCODEC_MAX SND_AUDIOCODEC_OPUS > > /* > * Profile and modes are listed with bit masks. This allows for a > -- > 2.41.0.487.g6d72f3e995-goog >