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 X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6C367C4CECE for ; Fri, 13 Mar 2020 07:22:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4ABA7206FA for ; Fri, 13 Mar 2020 07:22:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726492AbgCMHWk (ORCPT ); Fri, 13 Mar 2020 03:22:40 -0400 Received: from mx2.suse.de ([195.135.220.15]:50422 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726364AbgCMHWk (ORCPT ); Fri, 13 Mar 2020 03:22:40 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 4877FB042; Fri, 13 Mar 2020 07:22:38 +0000 (UTC) Date: Fri, 13 Mar 2020 08:22:38 +0100 Message-ID: From: Takashi Iwai To: Vinod Koul Cc: Mark Brown , Takashi Iwai , linux-arm-msm@vger.kernel.org, Bjorn Andersson , Patrick Lai , Banajit Goswami , Liam Girdwood , Jaroslav Kysela , Srinivas Kandagatla , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/9] ALSA: compress: add wma codec profiles In-Reply-To: <20200313070847.1464977-2-vkoul@kernel.org> References: <20200313070847.1464977-1-vkoul@kernel.org> <20200313070847.1464977-2-vkoul@kernel.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 13 Mar 2020 08:08:39 +0100, Vinod Koul wrote: > > Some codec profiles were missing for WMA, like WMA9/10 lossless and > wma10 pro, so add these profiles > > Signed-off-by: Vinod Koul > --- > include/uapi/sound/compress_params.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/include/uapi/sound/compress_params.h b/include/uapi/sound/compress_params.h > index 9c96fb0e4d90..634daa354b58 100644 > --- a/include/uapi/sound/compress_params.h > +++ b/include/uapi/sound/compress_params.h > @@ -142,6 +142,9 @@ > #define SND_AUDIOPROFILE_WMA8 ((__u32) 0x00000002) > #define SND_AUDIOPROFILE_WMA9 ((__u32) 0x00000004) > #define SND_AUDIOPROFILE_WMA10 ((__u32) 0x00000008) > +#define SND_AUDIOPROFILE_WMA9_PRO ((__u32) 0x00000010) > +#define SND_AUDIOPROFILE_WMA9_LOSSLESS ((__u32) 0x00000011) > +#define SND_AUDIOPROFILE_WMA10_LOSSLESS ((__u32) 0x00000012) Are the profiles are bit flags, or they are just enums? All other definitions are set as if bit flags. thanks, Takashi