had_process_ringbuf
len = had_process_ringbuf(substream, intelhaddata);
if (had_process_ringbuf(substream, intelhaddata) < 0)