From: Takashi Iwai Subject: Re: [PATCH 9/9] ALSA: compress: use rate values for passing sampling rates Date: Tue, 27 Aug 2013 12:30:08 +0200 Message-ID: References: <1377585639-29516-1-git-send-email-vinod.koul@intel.com> <1377585639-29516-10-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 Return-path: In-Reply-To: <1377585639-29516-10-git-send-email-vinod.koul@intel.com> Sender: stable-owner@vger.kernel.org To: Vinod Koul Cc: alsa-devel@alsa-project.org, broonie@kernel.org, lgirdwood@gmail.com, stable@vger.kernel.org List-Id: alsa-devel@alsa-project.org At Tue, 27 Aug 2013 12:10:39 +0530, Vinod Koul wrote: > > Clarify that its better to use the rate values like 8000, 12000, 11025, 44100, > 48000 etc to send sampling rate values to driver. The changes kernel ABI but no > drivers exist upstream so okay to change now > Tinycompress to be fixed as well > > For this change bump the API version as well I see no corresponding changes at all... > Signed-off-by: Vinod Koul > Cc: Again, why it must be to stable? Takashi > --- > include/uapi/sound/compress_offload.h | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/include/uapi/sound/compress_offload.h b/include/uapi/sound/compress_offload.h > index d630163..cad87ff 100644 > --- a/include/uapi/sound/compress_offload.h > +++ b/include/uapi/sound/compress_offload.h > @@ -62,7 +62,7 @@ struct snd_compr_params { > * progress. It shall not be used for timing estimates. > * @pcm_io_frames: Frames rendered or received by DSP into a mixer or an audio > * output/input. This field should be used for A/V sync or time estimates. > - * @sampling_rate: sampling rate of audio > + * @sampling_rate: sampling rate value of audio, eg 12000, 48000 > */ > struct snd_compr_tstamp { > __u32 byte_offset; > -- > 1.7.0.4 >