// ksmedia.h
typedef struct {
ULONG Size;
ULONG Enabled;
BOOL SwapChannels;
BOOL ZeroAzimuth;
BOOL CrossFadeOutput;
ULONG FilterSize;
} KSDS3D_HRTF_PARAMS_MSG, *PKSDS3D_HRTF_PARAMS_MSG;
View the official Windows Driver Kit DDI referenceNo description available.
The KSDS3D_HRTF_PARAMS_MSG structure specifies the parameter settings to apply to a head-relative transfer function (HRTF).
SizeSpecifies the size in bytes of the structure.
EnabledSpecifies whether to enable HRTF processing. If nonzero, HRTF is enabled. If zero, it is disabled.
SwapChannelsSpecifies whether the algorithm should swap channels. If TRUE, the algorithm should swap the channels to perform a left-to-right reversal of the location of the source. If FALSE, the algorithm should not swap the channels.
ZeroAzimuthSpecifies whether the azimuth angle is zero. If TRUE, then only half of the filter coefficients are downloaded to the filter because the azimuth angle is zero. If FALSE, all the coefficients are downloaded.
CrossFadeOutputSpecifies whether to cross-fade the output channels after crossing azimuth angle zero. If TRUE, the algorithm should cross-fade the output channels. If FALSE, it should not cross-fade the channels.
FilterSizeSpecifies the additional size in bytes of the filter coefficients that are appended to this structure.
This structure is used by the KSPROPERTY_HRTF3D_PARAMS property.
For more information, see KSPROPSETID_Hrtf3d.