switched to AudioRecord, encode in WAV