For audio and video professionals using optical adapters, Apple has integrated a high-fidelity TOSLINK output. As soon as you plug in an optical adapter, MacBook Pros automatically switches over to TOSLINK, enabling higher fidelity, high-definition sound.
Source: (Reddit, glassFractals)