Welcome to EP!
The potentiometers may or may not be necessary, depending on the two signal sources. In the posted circuit, R1 and R2 allow the input levels from the two audio sources to be individually adjusted (preset). This might be necessary for high level inputs, to avoid over-loading the...