a jack typically for aircraft headphones has sockets accepting any of several different types of headsets , and attached sensing components to correctly detect from the number of pins inserted and the impedances and / or voltages sensed on those pins the type of headset inserted . connection is then appropriately made to the audio while the stereo or noise cancellation properties of the headsets are correctly used .