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

Takashi Sakamoto o-takashi at sakamocchi.jp
Fri Feb 28 16:05:42 CET 2014


(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?


Takashi Sakamoto
o-takashi at sakamocchi.jp

More information about the Alsa-devel mailing list