Simple audio recorder using Android's AudioRecorder with .aac
File extention. UI is same as Whatapp audio Recorder. Yet to add fly animation on bucket.
Sometimes Android's MediaRecorder class does not releases the AudioFocus because of which Mic stops recording audio on next attempt and user does not get any clue why audio is not recording. Using AudioRecord class we get raw PCM data and we can compare the expected recorded bytes and recorded audio bytes comparing which we can confirm the issue with gaining mic control and update user accordingly. If this case occurs in example app I have stopped the timer increment so that user would understand that there is some problem while recording an audio.
- AppCompat
- RecordView