added constructor and pause function into AudioRecordDevice