[alsa-devel] [PATCH 9/9] ALSA: compress: use rate values for passing sampling rates

Takashi Iwai tiwai at suse.de
Tue Aug 27 12:30:08 CEST 2013


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 <vinod.koul at intel.com>
> Cc: <stable at vger.kernel.org>

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
> 


More information about the Alsa-devel mailing list