All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vinod Koul <vinod.koul@intel.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org, broonie@kernel.org, lgirdwood@gmail.com
Subject: Re: [PATCH] ALSA: compress: add num_sample_rates in snd_codec_desc
Date: Tue, 7 Jan 2014 22:09:48 +0530	[thread overview]
Message-ID: <20140107163948.GC16227@intel.com> (raw)
In-Reply-To: <s5hd2k3pug9.wl%tiwai@suse.de>

On Tue, Jan 07, 2014 at 06:34:14PM +0100, Takashi Iwai wrote:
> At Tue,  7 Jan 2014 21:55:42 +0530,
> Vinod Koul wrote:
> > 
> > this gives ability to convey the valid values of supported rates in
> > sample_rates array
> > 
> > Signed-off-by: Vinod Koul <vinod.koul@intel.com>
> 
> Thanks, applied.

Thanks, does this one get the record for quicked apply :)

--
~Vinod
> 
> 
> Takashi
> 
> > ---
> >  include/uapi/sound/compress_params.h |    2 ++
> >  1 files changed, 2 insertions(+), 0 deletions(-)
> > 
> > diff --git a/include/uapi/sound/compress_params.h b/include/uapi/sound/compress_params.h
> > index b62b24b..165e705 100644
> > --- a/include/uapi/sound/compress_params.h
> > +++ b/include/uapi/sound/compress_params.h
> > @@ -326,6 +326,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 values like 48000 for this
> > + * @num_sample_rates: Number of valid values in sample_rates array
> >   * @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.
> > @@ -348,6 +349,7 @@ union snd_codec_options {
> >  struct snd_codec_desc {
> >  	__u32 max_ch;
> >  	__u32 sample_rates[MAX_NUM_SAMPLE_RATES];
> > +	__u32 num_sample_rates;
> >  	__u32 bit_rate[MAX_NUM_BITRATES];
> >  	__u32 num_bitrates;
> >  	__u32 rate_control;
> > -- 
> > 1.7.0.4
> > 

-- 

  reply	other threads:[~2014-01-07 17:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-07 16:25 [PATCH] ALSA: compress: add num_sample_rates in snd_codec_desc Vinod Koul
2014-01-07 17:34 ` Takashi Iwai
2014-01-07 16:39   ` Vinod Koul [this message]
2014-01-07 17:35 ` Mark Brown
2014-01-07 16:38   ` Vinod Koul
2014-01-07 17:43     ` Mark Brown
2014-01-07 17:46       ` Takashi Iwai
2014-01-07 17:41   ` Takashi Iwai
2014-01-07 17:47     ` Mark Brown
2014-01-08  4:16       ` Vinod Koul

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140107163948.GC16227@intel.com \
    --to=vinod.koul@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.