[alsa-devel] Sizeof int in Alsa

Alan Horstmann gineera at aspect135.co.uk
Wed May 9 23:34:20 CEST 2012


Hi,

I have often wondered whether Alsa had an intrinsic requirement that an int 
would always be at least 32-bit, but been unable to find a clear statement 
with web searches.

Looking recently at snd_pcm_hw_params_set_rate(), for example, the rate value 
parameter is unsigned int, which suggests to me that it would be broken with 
16-bit ints; is it correct then to deduce that Alsa does not support 16-bit 
int platforms?

Regards,

Alan


More information about the Alsa-devel mailing list