Using different device for audio input and output: will it cause clock drifting?

If audio input/output devices have been configured so that they are two different physical devices, shouldn’t this cause clock drift between these two devices? If so, does JUCE automatically handle it somehow, or will there be unavoidable clock drift which the user needs to handle somehow?