SetShapeSrcPitchTarget
Sets the pitch target.Syntax
Parameters
context _Inout_Type: SHAPE_SRC_CONTEXT* Pointer to a SHAPE_SRC_CONTEXT object. pitchTarget
Type: float The pitch target.
Return value
Type: HRESULT HRESULT success or error code.Remarks
The Sample Rate Convertor (SRC) block reads PCM samples and performs sample-rate conversion and pitch shifting. Pitch target and pitch values are in the range 0.0625-3.99. To get the current pitch target, use GetShapeSrcPitchTarget. For more information about the SRC, see Sample Rate Convertor (SRC) block in Overview of SHAPE.Requirements
Header: shapesrccontext.h Supported platforms: XBOX One family consoles and XBOX Series consolesSee also
SetShapeSrcPitchShapeSrcContext
