Capturing audio correctly and downsampling to 16khz , but the final audio is with glitches