static audio_format_t in_get_format(const struct audio_stream *stream)
{
 (void)stream;
 return AUDIO_FORMAT_PCM_16_BIT;
}

The product reads data past the end, or before the beginning, of the intended buffer.