Open eliotmiranda opened 5 years ago
@eliotmiranda good catch, I'm wondering if it would make more sense for this to simply be a void *
, as I think uintptr_t requires C99 or higher.
Happy either way. But uintptr_t is likely to have less impact on existing clients, so maybe feature-detect C99 and fall back on void * in 64-bits. Messy :-). One could of course define uintptr_t in speex_jitter.h if in 64-bits and not C99.
Make JitterBufferPacket.user_data a pointer sized field so that in 64 bits it can contain a pointer if required.