Well, the transducer consists of an axially polarized magnet and a coil attached to a diaphragm, right?
Positive voltage will move the voice coil along the axis of the magnet in one direction and negative in the other direction.
If you have an old speaker that you never plan to listen to again, and a battery, you can observe that behavior yourself. Don't do it to anything you weren't planning to throw away, though. DC is bad for voice coils.
I have to admit that i once used a half dead CR2032 3v lithium cell to hold a 5" speaker cone in place for about an hour while the glue between the cone and the foam surround cured.
This was from an old Boston bookshelf speaker and the foam surround had literally neatly detached from the cone all the way around it's circumference, but was still 99.9% intact.
Lacking any better ideas of how to apply even pressure between cone and surround for an hour, and knowing that the speaker was a throwaway if i didn't find a way to do that, and not worth much in the first place, I figured it was worth the gamble.
Worked. Sounds fine. I only use those speakers as rear surrounds anyway. Don't try this at home, trained professionals on a closed track, results not typical, etc.
AAAAnyway . . . .
Audio signals are AC, modulated positive and negative voltage. If you hook up the transducer backwards, the diaphragm will be moving out when it should be moving in, and vice-versa.
It'll still make sound, but it'll sound a little funny.
How do you tell what the polarity is? You hope that somebody marked it, that's how. I have some old Braun speakers where someone literally marked one side of the magnet with an X in red sharpie. Generally + is for signal, - is for ground. If there is only one mark, hand made, it's probably "signal here" even if it's a dash. You hope.
In headphones, two of those four wires will be connected to the same conductor on the plug - those are ground. As for the transducer end, best of luck to ya if they're already detached.