Merge "audio: different frame size calculation for input and output"