[alsa-devel] [PATCH v4 4/6] core: add API header and driver header files
tiwai at suse.de
Tue Dec 13 14:23:02 CET 2011
At Tue, 13 Dec 2011 18:19:49 +0530,
Nallasellan, Singaravelan wrote:
> > + 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.
More information about the Alsa-devel