Pre-process one buffer when creating source.