IXAudio2SourceVoice::GetFilterParameters
XAudio2 is a beta version and should not be used by shipping titles. This beta expires on May 1, 2008.
Gets the voice's filter parameters.
HRESULT GetFilterParameters(XAUDIO2_FILTER_PARAMETERS *pParameters);
Parameters
- pParameters
[out] Pointer to an XAUDIO2_FILTER_PARAMETERS structure containing the filter information.
Return Values
Returns S_OK if successful, an error code otherwise.
Remarks
GetFilterParameters will fail if the voice was not created with the XAUDIO2_VOICE_USEFILTER flag.
If GetFilterParameters is called immediately after changing the filter parameters with a call to IXAudio2SourceVoice::SetFilterParameters, the old parameters may be returned; this is because the parameters are set asynchronously, and only take effect the next time the audio engine runs.
Requirements
Header: Declared in Xaudio2.h.