If you're running Windows and your PC has an HDAudio solution, then the speakers and headphones may appear as two separate output devices (it depends - for instance, on my laptop the headphones and speakers appear as the same output device and there's an electrical switch that switches between the two when the headphones are plugged in).