I supply a pointer to an array of pointers, like in 4-split-channels.c example. But if I look at the code here: https://github.com/chirlu/soxr/blob/master/src/soxr.c#L716 the pointer to out is changed as if out is a pointer to a buffer, not a pointer to an array of pointers to a buffer. If you look at the call to soxr_output_no_callback a few lines above and in that function at https://github.com/chirlu/soxr/blob/master/src/soxr.c#L689 then the pointer to the buffer is retrieved from the array of pointers first.
Am I missing something?
Regards,
Reinier
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I’m working on using soxr_output with float64S (separated channels, https://github.com/lrbalt/libsoxr-rs/issues/7). I’m getting a signal: 11, SIGSEGV: invalid memory reference.
I supply a pointer to an array of pointers, like in 4-split-channels.c example. But if I look at the code here: https://github.com/chirlu/soxr/blob/master/src/soxr.c#L716 the pointer to out is changed as if out is a pointer to a buffer, not a pointer to an array of pointers to a buffer. If you look at the call to soxr_output_no_callback a few lines above and in that function at https://github.com/chirlu/soxr/blob/master/src/soxr.c#L689 then the pointer to the buffer is retrieved from the array of pointers first.
Am I missing something?
Regards,
Reinier