If you use the parametric equaliser it will affect all outputs, it is applied to the PCM audio beofre being passed to the output hardware.
If you use the bass/treble controls where a player has them they are written to registers in the output hardware which makes the change, and depending on the player that may or may not apply to the headphone only.