Added a bool to disable the playback when recording with a music.