From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <1349374107.27233.36.camel@aeonflux> Subject: Re: [PATCH 4/4] audio: Add check for non-a2dp codec From: Marcel Holtmann To: Luiz Augusto von Dentz Cc: chanyeol.park@samsung.com, linux-bluetooth@vger.kernel.org Date: Thu, 04 Oct 2012 20:08:27 +0200 In-Reply-To: References: <1349356447-8369-1-git-send-email-chanyeol.park@samsung.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Luiz, > > This patch adds checks(vendor ID, vendor specific codec ID) to make sure of > > non-a2dp codec selection. > > --- > > audio/a2dp-codecs.h | 6 +++++ > > audio/a2dp.c | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++- > > 2 files changed, 73 insertions(+), 1 deletion(-) > > > > diff --git a/audio/a2dp-codecs.h b/audio/a2dp-codecs.h > > index 51c796a..e3d2cba 100644 > > --- a/audio/a2dp-codecs.h > > +++ b/audio/a2dp-codecs.h > > @@ -26,6 +26,7 @@ > > #define A2DP_CODEC_MPEG12 0x01 > > #define A2DP_CODEC_MPEG24 0x02 > > #define A2DP_CODEC_ATRAC 0x03 > > +#define A2DP_CODEC_NON_A2DP 0xFF > > I prefer A2DP_CODEC_VENDOR what is the specification calling these? And yes, I would prefer VENDOR as well. Regards Marcel