XLR socket standard - when to use male/female? (source, amp, speakers et)

Hi

I’m building a little hifi setup that’ll use XLR interconnects and speaker cabling. This is just for aesthetics but It’ll be balanced where applicable .

What is the rule of thumb for when to use a male or female SOCKET? I real that it’s:
Outputs = Male
Inputs = Female
So…
Sources: (media player): male socket,
Preamp: Inputs: all female sockets; Output to amp: male sockets
Amp input: female
Does this carry over to speaker cabling:
Output from amp: male
Speaker: input female

Correct?
Thank you
 
For line and microphone level signals, the outputs are indeed male and the inputs female. (Although a Dutch national broadcasting organization used to use the same gender for outputs and inputs, so they didn't have to worry about the direction of the cables - but that was very non-standard.)
 
In the distant past, because 3 pin XLR connectors could safely carry a lot of current, they were occasionally used as loudspeaker or low voltage DC cables.
But as XLR interconnect cables became more popular, it became more dangerous to use them for other purposes.
 
3-pin XLR are standard for electric wheelchair and mobility scooter 24V charging sockets for instance.

They are/were used over 1/4" jacks for speakers because they don't short the amp output when plugged!

Very much recommend SpeakOn for speakers as they are actually designed for the purpose.