ValveSoftware / ValveSoftware/SteamOS

Feature request: HDMI Audio: Add inaudible AVR keepalive signal to keep audio devices alive

Open
#2,819 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
2.6k
Forks
83
Avg merge
4m
Merged PRs (30d)
3

Description

I have a TV with a soundbar connected over TOSLink (S/PDIF). The soundbar is very sensitive to even brief silences (-inf dB levels), and will fall asleep, and when a sound begins, it takes roughly 200ms for the soundbar to wake back up, which means small sounds can get lost. For example, in Portal 2, during GlaDOS' song at the very end, she sings the following lines:

Goodbye my only friend.
Oh... did you think I meant you?

The words that are stricken out are missed by my soundbar because of the surrounding silence.

I know it's quite a niche issue, but I've noticed several areas where the absence of audio causes issues sometimes. In particular, my upstairs TV: if, for example, I'm navigating through the menus in Big Picture Mode, the respective UI sounds play, but right after they stop, no signal is sent to the TV. It's like turning a switch on and off again in rapid succession. If that happens enough on this TV, the audio will eventually become garbled until I power-cycle the TV.

The solution? Play a constant, inaudible random noise over connected HDMI devices, which will keep them awake, and include a setting where the feature can be toggled—preferably in the Audio settings page in Steam Big Picture Mode. The sound should be disabled when using the Deck's internal speakers, for example, or when using an audio device connected directly to the device's analog output jack.

Now, HDMI devices are kinda smart, and sending a silent (zero) signal expecting that just keeping the audio stream open will keep the TV/AVR/soundbar alive is not enough; it needs to be random, inaudible noise louder than -inf dB. Developers can take a look at Kodi's implementation of the same feature in their media center suite, which they refer to as "Keep audio device alive."

Perhaps this is something better suited for Steam's Big Picture mode rather than SteamOS itself, but either way, it would be very useful for someone like me with older, dumb equipment.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing Kodi's linked “Keep audio device alive” implementation, then locate Steam Big Picture Mode's Audio settings and the HDMI audio output path. Define how the toggle applies to HDMI devices while excluding internal speakers and analog output, and verify that the keepalive signal prevents connected equipment from sleeping without being audible.

Written by the indexing model from the issue text.

Assessment

Domain
operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.