1. when offload capture, apb buffer must big enough to fill samples of encoder. 2. pass samplerate, channels to encoder.