Got headphone jack detection working on Mac for the default output device.