In the same silicon photonic integrated circuit, we compare two types of integrated degenerate photon-pair sources (microring resonators and waveguides) using Hong–Ou–Mandel (HOM) interference experiments. Two nominally identical microring resonators are coupled to two nominally identical waveguides, which form the arms of a Mach–Zehnder interferometer. This is pumped by two lasers at two different wavelengths to generate, by spontaneous four-wave mixing, degenerate photon pairs. In particular, the microring resonators can be thermally tuned in or out of resonance with the pump wavelengths, thus choosing either the microring resonators or the waveguides as photon-pair sources, respectively. In this way, an on-chip HOM visibility of 94% with microring resonators and 99% with straight waveguides is measured upon filtering. We compare our experimental results with theoretical simulations of the joint spectral intensity and the purity of the degenerate photon pairs. We verify that the visibility is connected to the sources’ indistinguishability, which can be quantified by the overlap between the joint spectral amplitudes (JSA) of the photon pairs generated by the two sources. We estimate a JSA overlap of 98% with waveguides and 89% with microring resonators.