In the case of a CD player and a Pre-amp or Integrated Amplifier, both gears would have specifications and the corresponding input and output impedance are indicated accordingly. You can then compare the data whether it matches. These can also be applied between a preamp and a power amp.