I'm unsure if this is something that would be part of WhatWG or W3C spec. Advice would be appreciated to move this forward.
We should be able to know if the computer is currently muting audio or has no working audio outputs. This allows us to programatically deal with the following types of situations:
- Users has audio based disabilities
- Users with disabled / no audio hardware
- User has muted audio output temporarily
Potential use cases:
- User is deaf and automatically recieves closed captions without interaction
- Alert user that there is required audio content as part of presentation if no audio hardware is available
- Pause video or other media if user mutes audio outside of the application
What do you think?
ECMAScript has no concept of i/o; so this wouldn't be appropriate for the language.