RestoreBitstreamOut

Primarily used for low latency music games, RestoreBitstreamOut will revert console audio output settings that have been overridden using DisableBistreamOut.

Syntax

void RestoreBitstreamOut()  

Return value

None.

Remarks

If the user’s Settings app “Display & sound” tile indicates HDMI or Optical audio outputs are set to “Bitstream”, RestoreBitstreamOut will return these outputs to encoded bitstream modes.

It’s a best practice to call RestoreBitstreamOut when low latency is no longer needed, as well as when cleaning up a terminating title (Note that if a title abnormally terminates due to a crash or user action, the system will implicitly handle reverting to the user’s chosen settings).

The channel count exposed to the title (through XAudio2 or WASAPI endpoints) will not change when the override or restore functions are called.

OnChannelCountsChanged will not be triggered when RestoreBitstreamOut is called.

Requirements

Header: Declared in mmdeviceapi.h.

Library: Use MMDevApi.lib.

See also

DisableBitstreamOut