This function only loops and does no actual recording, and also it starts the playback. Should we rename the function as something more relevant?