[alsa-devel] [PATCH 19/39] fireworks: Add skelton for Fireworks based devices

Takashi Iwai tiwai at suse.de
Fri Feb 28 16:10:50 CET 2014


At Sat, 01 Mar 2014 00:05:42 +0900,
Takashi Sakamoto wrote:
> 
> Iwai-san,
> 
> (Feb 28 2014 15:51), Takashi Iwai wrote:
> > Now we may handle more than 32 cards, depending on Kconfig.
> 
> I can understand I should not use 'unsigned int' for bitmap of each card 
> instances because in most architecture 'unsigned int' has just 32 bit width.
> 
>  > Use bitmap instead.
> 
> But I cannot understand this sentence.
> 
> I already use this 'devices_used' for bitmap. So I guess you did mean 
> alternative ways like pointer array. For example:
> static struct snd_fireworks *devices_used[SNDRV_CARDS];
> 
> Can I request your explaination for this?

Just take a look at linux/bitmap.h :)


Takashi


More information about the Alsa-devel mailing list