From: Takashi Iwai Subject: Re: [PATCH] ALSA: compress: change the way sample rates are sent to kernel Date: Mon, 16 Dec 2013 15:54:40 +0100 Message-ID: References: <1387185934-3258-1-git-send-email-vinod.koul@intel.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id E3E25261603 for ; Mon, 16 Dec 2013 15:54:40 +0100 (CET) In-Reply-To: <1387185934-3258-1-git-send-email-vinod.koul@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Vinod Koul Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Mon, 16 Dec 2013 14:55:34 +0530, Vinod Koul wrote: > > The usage of SNDRV_RATES is not effective as we can have rates like 12000 or > some other ones used by decoders. This change the usage of this to use the raw > Hz values to be sent to kernel > > Signed-off-by: Vinod Koul Thanks, applied. Takashi > --- > include/uapi/sound/compress_params.h | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/include/uapi/sound/compress_params.h b/include/uapi/sound/compress_params.h > index 602dc6c..1114e38 100644 > --- a/include/uapi/sound/compress_params.h > +++ b/include/uapi/sound/compress_params.h > @@ -324,7 +324,7 @@ union snd_codec_options { > > /** struct snd_codec_desc - description of codec capabilities > * @max_ch: Maximum number of audio channels > - * @sample_rates: Sampling rates in Hz, use SNDRV_PCM_RATE_xxx for this > + * @sample_rates: Sampling rates in Hz, use values like 48000 for this > * @bit_rate: Indexed array containing supported bit rates > * @num_bitrates: Number of valid values in bit_rate array > * @rate_control: value is specified by SND_RATECONTROLMODE defines. > -- > 1.7.0.4 >