DisableBitstreamOut

Primarily used for low latency music games, DisableBitstreamOut will override settings specified by the user in the Settings App’s “Display & sound” tile.

Syntax

void DisableBitstreamOut()  

Return value

None.

Remarks

This API has no effect on outputs that aren’t explicitly set to “bitstream” (for instance, if HDMI is linear PCM 7.1).

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.

Note Calling this API will reduce render path latency by an additional 5ms.

The channel count exposed to the title, through XAudio2 or WASAPI endpoints, will not change when this override function is called.

OnChannelCountsChanged will not be triggered when DisableBitstreamOut is called.

Requirements

Header: Declared in mmdeviceapi.h.

Library: Use MMDevApi.lib.