add audio recording functional, have some bugs