At Wed, 21 Mar 2007 08:35:22 +1100, Jean-Marc Valin wrote:
Well, I use that type because that's what is used in the API. And the reason I use it in the API is because this code is meant to work even on platforms with 16-bit integers (e.g. TI C5X DSPs) and no C99 compiler. If that's causing problem, I guess you could still use unsigned int with no problem...
Don't worry, alsa-lib would be very unlikely ported to such an architecture.
Well, my code has to run on those architectures, and it's much simpler if I don't need to change it for ALSA. Now if you don't want the spx_uint32_t in the plugin code, then feel free to change that.
OK, as long as it's in alsa-plugins repository, I basically don't care. But, for merging it to alsa-lib, I'd like to change the code very much (including coding-style unification).
Anyway, I applied your latest codes to HG tree now (with the removal of samplerate.h). Thanks!
Takashi