}
out:
for (j = 0; j < channels; j++)
qt_audio[(channels*i) + j] = qt_audion[j][i];
free(qt_audion[j]);
free(qt_audion);
return(res);