Synchronizes different input streams