Closed yurivict closed 7 months ago
src/soundcommon.c:486:25: error: incompatible function pointer types assigning to 'ma_read_proc' (aka 'ma_result (*)(void *, void *, unsigned int, unsigned int *)') from 'ma_result (void *, void *, unsigned long, unsigned long *)' [-Wincompatible-function-pointer-types] 486 | decoder->onRead = ma_libvorbis_read_pcm_frames_wrapper; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/soundcommon.c:548:25: error: incompatible function pointer types assigning to 'ma_read_proc' (aka 'ma_result (*)(void *, void *, unsigned int, unsigned int *)') from 'ma_result (void *, void *, unsigned long, unsigned long *)' [-Wincompatible-function-pointer-types] 548 | decoder->onRead = m4a_read_pcm_frames_wrapper; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/soundcommon.c:612:25: error: incompatible function pointer types assigning to 'ma_read_proc' (aka 'ma_result (*)(void *, void *, unsigned int, unsigned int *)') from 'ma_result (void *, void *, unsigned long, unsigned long *)' [-Wincompatible-function-pointer-types] 612 | decoder->onRead = ma_libopus_read_pcm_frames_wrapper; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 errors generated.
See the log.
Just committed a fix for this. Hope that solves it. These are low values, 1024, and similar.
See the log.