Key takeaways
- For optical to a TV or soundbar: start at 16 bit, 48000 Hz, then try higher.
- For coaxial or HDMI to an AV receiver: 24 bit, 48000 Hz is a safe baseline; move to 96 kHz or 192 kHz only if the receiver spec sheet lists support.
- On the same tab, click Test. If the test tones play but media does not, the problem is a format issue, not a wiring issue — see step 4.
How to Fix Digital Audio Out on a Computer
Fix digital audio output problems by first confirming the signal path: Windows must have the correct digital output device selected as default, the sample rate must match what the receiving device accepts, and the cable and port must physically carry the S/PDIF or HDMI/DisplayPort signal. Roughly 8 out of 10 “no digital audio” complaints come down to the wrong playback device being set as default in Windows Sound settings or a sample-rate mismatch, both of which take under two minutes to check.
What “digital audio out” actually means on a PC
Digital audio output is any port that sends an encoded or uncompressed digital bitstream rather than an analog voltage. On a desktop that is usually one of four things: an optical S/PDIF (TOSLINK) port, a coaxial RCA S/PDIF port, HDMI/DisplayPort audio carried through a GPU, or a USB audio interface acting as the digital transport. Each path has its own failure points, so identify which one you are using before changing any setting.
| Output type | Max uncompressed channels | Typical max sample rate | Common failure point |
|---|---|---|---|
| Optical S/PDIF (TOSLINK) | 2 (PCM), 5.1–7.1 compressed bitstream | 96 kHz | Red light visible = port alive; no light = disabled in BIOS or dead port |
| Coaxial S/PDIF (RCA) | 2 (PCM), 5.1–7.1 compressed | 192 kHz | Wrong cable impedance (75 Ω required) |
| HDMI via GPU | 8 (up to 7.1) | 192 kHz | Windows routes audio to GPU, not motherboard, or the display has no speakers |
| USB digital out | Depends on interface, often 2–8 | 192 kHz | Driver not installed; Windows picks “USB Audio” instead of the vendor driver |
Causes, checks, and fixes
1. Confirm the correct playback device is set as default
Right-click the speaker icon in the taskbar, choose Sound settings, and look at the Output section. Windows will often list “Speakers (Realtek Audio)” and “Digital Audio (S/PDIF)” as separate devices. If your receiver or soundbar is connected by optical cable but “Speakers” is selected, you get silence on the digital line. Select the digital entry and click Set Default. Reason: Windows maintains one default output per audio endpoint, and the Realtek analog endpoint frequently wins by default even when nothing is plugged into it.
If the digital device does not appear in the list at all, right-click in the Sound control panel and enable “Show Disabled Devices” and “Show Disconnected Devices.” A greyed-out S/PDIF entry usually means the port is disabled in BIOS/UEFI or the onboard audio codec is turned off.
2. Match the sample rate and bit depth
In the Sound control panel, select your digital output, click Properties, then the Advanced tab. You will see a dropdown like “16 bit, 44100 Hz (CD Quality)” up to “24 bit, 192000 Hz (Studio Quality).” Many AV receivers and older soundbars only accept 48 kHz over optical; setting 192 kHz produces either silence or a stuttering crackle.
- For optical to a TV or soundbar: start at 16 bit, 48000 Hz, then try higher.
- For coaxial or HDMI to an AV receiver: 24 bit, 48000 Hz is a safe baseline; move to 96 kHz or 192 kHz only if the receiver spec sheet lists support.
- On the same tab, click Test. If the test tones play but media does not, the problem is a format issue, not a wiring issue — see step 4.
Reason: the digital link has to agree on a clock. The sender runs at one rate and the receiver locks to it; mismatched rates cause the receiver to mute rather than distort.
3. Test the cable, port, and physical link
For optical: with the cable disconnected from the receiver but still plugged into the PC, look at the tip of the cable. A red light means the PC is transmitting. No light means the port is not outputting, which points to a disabled device in Windows, a BIOS setting, or a failed port. For coaxial: swap in a known 75-ohm RCA cable — a standard analog RCA cable often works, but marginal shielding can cause dropouts at 192 kHz. For HDMI: move the cable to a different HDMI port on the TV or receiver and confirm in Windows that the GPU’s audio endpoint, not the motherboard’s, is the default.
4. Set the correct output format for surround content
If stereo works but 5.1 content is silent or downmixed badly, open the Supported Formats tab in the device properties and enable the encodings your receiver supports — typically Dolby Digital and DTS for optical, or Dolby Atmos and DTS:X for HDMI. Then, in the playback app, make sure it is set to “passthrough” or “bitstream” rather than decoding to PCM. Reason: optical S/PDIF cannot carry more than two channels of uncompressed PCM, so surround over optical must be sent as a compressed bitstream the receiver decodes.
5. Resolve driver and exclusivity conflicts
Open Device Manager, expand Sound, video and game controllers, and check for a yellow warning triangle. Uninstall the digital audio device, restart, and let Windows reinstall it — or install the current driver from your motherboard or laptop vendor. In the Advanced tab, untick “Allow applications to take exclusive control of this device” if audio cuts out only when a specific app (a game, a DAW, a video player) is running. Reason: one application grabbing exclusive mode blocks every other app from the same endpoint.
6. Check BIOS/UEFI and front-panel wiring
On desktops, onboard digital output is sometimes disabled by default. Enter BIOS/UEFI (usually Del or F2 at boot) and look under the advanced or onboard-devices section for an HD Audio or S/PDIF entry. If your case has a front-panel optical or coaxial header, confirm it is connected to the correct motherboard header; a loose front-panel connector produces exactly the “no device found” symptom.
| Symptom | Most likely cause | First fix |
|---|---|---|
| No device listed in Sound | Port disabled in BIOS or device hidden in Windows | Show Disabled Devices, then check BIOS |
| Red light on, still silent | Wrong default device or sample-rate mismatch | Set digital device default; drop to 48 kHz |
| Stereo fine, surround silent | PCM sent over optical instead of bitstream | Enable Dolby Digital/DTS and set app to passthrough |
| Crackling or dropouts | Clock mismatch or marginal cable | Lower sample rate; replace cable |
| Cuts out when one app opens | Exclusive-mode conflict | Untick exclusive control in Advanced tab |
A worked example: why optical caps your surround options
Uncompressed PCM at 48 kHz, 16-bit, stereo needs 48000 × 16 × 2 = 1,536,000 bits per second, or about 1.54 Mbps. Optical S/PDIF tops out around 3.1 Mbps in practice, which is why two channels of PCM fit comfortably but six channels (48000 × 16 × 6 = 4.61 Mbps) do not. Compressed Dolby Digital at 640 kbps and DTS at 1.5 Mbps both fit under the ceiling, which is exactly why optical surround requires bitstreaming. If your goal is uncompressed 5.1 or 7.1 PCM, you need HDMI or DisplayPort instead — a fact that no cable upgrade will change.
Frequently Asked Questions
Why is there no sound from my digital audio out when analog works?
Almost always because Windows is still outputting to the analog endpoint. The two appear as separate devices in Sound settings, and the digital one must be selected and set as default. If it is not listed at all, enable “Show Disabled Devices” and check that onboard audio is not switched off in BIOS/UEFI.
What sample rate should I set for optical S/PDIF?
Start at 16-bit / 48 kHz, which nearly every receiver and soundbar accepts. Move up to 96 kHz or 192 kHz only if the receiving device’s own spec sheet lists support, since an unsupported rate usually causes the receiver to mute rather than degrade gracefully.
Can optical carry 5.1 surround sound?
Yes, but only as a compressed bitstream such as Dolby Digital or DTS, not as uncompressed PCM. Uncompressed six-channel PCM exceeds what TOSLINK can carry, so for lossless multichannel you need HDMI or DisplayPort from a graphics card or a USB audio interface.
How do I know if my optical port is actually working?
Disconnect the cable at the receiver end and look into the tip while audio is playing. A red glow confirms the PC is transmitting; no glow means the port is disabled, unpowered, or faulty. This one check separates a Windows configuration problem from a hardware problem in seconds.
Why does digital audio cut out when I open a game or audio app?
That is the signature of exclusive-mode access. In the device’s Advanced properties, untick “Allow applications to take exclusive control of this device,” and check whether the app itself has a dedicated output-device setting pointing somewhere unexpected.
Does HDMI audio come from the motherboard or the graphics card?
From the graphics card when the display is connected to the GPU’s HDMI or DisplayPort output. Windows will list that GPU audio endpoint separately, so if you connect a TV to the graphics card but leave the motherboard’s audio as default, the TV stays silent until you switch devices.