Questionable question.
Anyway,1. The audio signal from line-out of laptop or PC(or any pre-amp) is high impedance, in KOhms with the voltage level in +- 2V range.2. Input of the amplifier(whatever type of amplifier; power amp, pre-amp, with or without integrated player of any type) also high impedance.3. Those high impedance signal can't drive a speaker(not even a head phone.) Not enough juice. You can short-circuit those signal to ground and not damage anything. No noticeable consequence of "impedance mismatch" as well. 4. Speaker has low impedance usually 4 or 8 or 16 ohms at 1 KHz.5 Output impedance of any amplifier's speaker output also has impedance of 4 or 8 or 16 ohms at 1 KHz.5. Speaker/amp impedance match play little role in the sound quality but more to do about power transfer efficiency from amp to speaker. You can connect a 4 ohm amp to 16 ohm speaker without damage amp or speaker.6. You certainly can't short circuit speaker wire since power amp has enough juice to destroy itself.7. Any speaker output should therefore has output impedance of 4 or 8 or 16 ohms. How many watts of it is a another question. But I would say laptop or PC speaker output is more like for earphone, not enough power to drive speakers to the sound level you wanted to.8 It's a bad idea to connecting speaker output of laptop or PC to amp. Not it will damage anything but you'll got a lot of distortion. This has not much to do with mismatch impedance but much to do with the voltage level to speaker that it's high enough to "saturate" the input stage circuit of the amp and cause the distortion.It's not easy to give a electronic clash course here, but it's fun.