IXAudio2Voice::SetFilterParameters method (xaudio2.h)
Sets the voice's filter parameters.
Syntax
\\HRESULT SetFilterParameters(
[in] const XAUDIO2_FILTER_PARAMETERS *pParameters,
[in] UINT32 OperationSet
);
Parameters
[in] pParameters
Pointer to an XAUDIO2_FILTER_PARAMETERS structure containing the filter information.
[in] OperationSet
Identifies this call as part of a deferred batch. See the XAudio2 Operation Sets overview for more information.
Return value
Returns S_OK if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of error codes.
Remarks
SetFilterParameters will fail if the voice was not created with the XAUDIO2_VOICE_USEFILTER flag.
This method is usable only on source and submix voices and has no effect on mastering voices.
Platform Requirements
Windows 10 (XAudio2.9); Windows 8, Windows Phone 8 (XAudio 2.8); DirectX SDK (XAudio 2.7)Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | xaudio2.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for