Show sounds (and audio description flag)
This topic includes information about a parameter that indicates whether an application should provide a visual alert or cue when it uses sound to convey important information. It also provides information about a flag that indicates whether an application should provide an audio description for visual elements.
Show sounds parameter
The show sounds parameter indicates whether the user wants applications to present all important information in visual form.
The user controls the setting of the show sounds parameter by using the Ease of Access Center in Control Panel, or another application for customizing the environment. Applications use the SPI_GETSHOWSOUNDS and SPI_SETSHOWSOUNDS flags with the SystemParametersInfo function to get and set the show sounds parameter. Alternatively, applications can use the SM_SHOWSOUNDS flag with the GetSystemMetrics function to determine the state of the show sounds parameter.
Determining the state of the show sounds parameter is necessary only for applications that would typically present important information by sound alone. Applications should provide show sounds support if they use sounds in either of the following ways:
- To convey information that is important to the operation of the application.
- To alert the user that important information is being presented visually. If this is the case, even though the information is presented visually, the sound has the additional function of attracting the attention of the user.
Appropriate visual feedback forms can make the software much more functional for users who cannot rely on sound alone. The design of the visual feedback is application specific and depends on the information that will be presented to the user. For example, to attract the user's attention when new electronic mail arrives, the application might flash its window or even flash the entire screen. If the application typically makes sound to indicate that the user is trying to perform an illegal operation, it could also display an appropriate message on its status line or use the MessageBox function to display a specific error message. If the application is typically designed to play sound bites that carry meaning, such as digitized speech, it could also display a caption window with the same text.
Redundant use of audible and visual alerts has been shown to increase the usability of software applications. The show sounds parameter is a request for visual feedback, but its use does not restrict an application to presenting information visually. Users should be able to request visual feedback regardless of whether they also want audible feedback.
Audio description flag
Applications use the SPI_GETAUDIODESCRIPTION and SPI_SETAUDIODESCRIPTION flags with the SystemParametersInfo function to enable or disable audio descriptions. While it is possible for users who are visually impaired to hear the audio in video content, there is a lot of action in video that does not have corresponding audio. Specific audio description of what is happening in a video helps these users understand the content better. This flag enables you to enable or disable audio descriptions in the languages they are provided in.