Fixed crash caused by uninitialized audiorecord instance.