recorder, pcm_s16le support and some fixes