[alsa-devel] snd_ctl_card_info_t type does not resolve on ubuntu 11.10?
clemens at ladisch.de
Tue Nov 15 15:33:56 CET 2011
Borg Onion wrote:
> The type "snd_ctl_card_info_t" doesn't seem to resolve by just
> including <alsa/asoundlib.h>.
This structure is not defined to prevent applications from
depending on its binary layout.
Do it like this:
error = snd_ctl_card_info_malloc(&info);
or use alloca instead of malloc/free.
More information about the Alsa-devel