Open fweimer-rh opened 9 months ago
Explicitly cast gint16 * result of g_new to float * in audio_open_input. Return NULL from mic_read_thread because the function returns void *.
gint16 *
g_new
float *
audio_open_input
NULL
mic_read_thread
void *
This avoids build failures with current compilers which treat these C type errors as errors.
Related to:
Please note that I'm not entirely sure of the g_new change. Is the size of the array correct?
Explicitly cast
gint16 *
result ofg_new
tofloat *
inaudio_open_input
. ReturnNULL
frommic_read_thread
because the function returnsvoid *
.This avoids build failures with current compilers which treat these C type errors as errors.
Related to: