Added audio recorder error callback function