When retrieving the codec2 data, ensure it is an exact multiple of codec2 frames and always discard the very last frame.