AudioRecord

use the aac-encode opensource project to create m4a audio file and can
pause.