Function

vDSP_biquadm_CreateSetupD(_:_:_:)

Builds a data structure that contains precalculated double-precision data for use by multichannel cascaded biquad IIR filter functions.

Declaration

func vDSP_biquadm_CreateSetupD(_ __coeffs: UnsafePointer<Double>, _ __M: vDSP_Length, _ __N: vDSP_Length) -> vDSP_biquadm_SetupD?

Parameters

__coeffs

Array of double-precision real coefficients. Its length should be 5 times the number of sections in the biquad filter.

__M

The number of sections in the biquad filter. The same number of sections is used for each channel, so only one value is specified.

__N

The number of input/output channels.

Return Value

Pointer to an allocated and initialized struct of type vDSP_biquadm_SetupStructD.

Discussion

This function is the same as vDSP_biquadm_CreateSetup except for the return type.

This function allocates memory for its own use; the allocated memory can be freed by the vDSP_biquadm_DestroySetupD function.

See Also

Creating a Multichannel Biquadratic IIR Setup

func vDSP_biquadm_CreateSetup(UnsafePointer<Double>, vDSP_Length, vDSP_Length) -> vDSP_biquadm_Setup?

Builds a data structure that contains precalculated single-precision data for use by multichannel cascaded biquad IIR filter functions.