You can listen to digital audio by connecting an AV receiver to the TV via a digital audio (optical) connector.
Connect the optical cable to digital audio output connector of the TV and the digital audio input connector of the device as shown in the image below.
Connecting with headphonesConnect the headphones to the headphone output connector of the TV as shown in the image below.