In the days before Electricity there was no Volume Control on a record player (Gramophone) so the only way to reduce the volume down was to "Put a sock" (Or other item) in the speaker to muffle it.
Two kids are playing noisily, and their Dad shouts at them "Put a sock in it you two, I am on the Phone!"