[alsa-devel] [PATCH] ALSA: compress: add num_sample_rates in snd_codec_desc

Mark Brown broonie at kernel.org
Tue Jan 7 18:35:10 CET 2014


On Tue, Jan 07, 2014 at 09:55:42PM +0530, Vinod Koul wrote:

>  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;

This is adding a field to the userspace ABI which will break it...  not
sure if we care or not but it probably ought to be noted in the commit
log at the very least; people do build things like distros with headers
from older kernels than the ones they run.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20140107/ce802dd2/attachment-0001.sig>


More information about the Alsa-devel mailing list