[alsa-devel] [PATCH v4 4/6] core: add API header and driver header files
singaravelan.nallasellan at intel.com
Tue Dec 13 14:51:30 CET 2011
> > > + size_t buffer_size;
> > > + size_t fragment_size;
> > Can we define buffer_size and fragment_size as unsigned items?
> size_t is unsigned.
> But, it needs consideration whether size_t is the best choice, since size_t is basically
> a long, thus its size is different between 32bit and 64bit architectures. This may lead
> to mess in many cases when you think of overlapping.
Sorry for my mess on size_t.
I think the assumption here is 32 bits. Should u32 be fine here?
More information about the Alsa-devel