AXComputeLpfCoefs

Syntax

#include <cafe/ax.h>

void AXComputeLpfCoefs(u16 freq, u16 *a0, u16 *b0);

Parameters

freq Cut-off frequency of the low-pass filter in Hertz (Hz). Value must be between 0 and one-half of the mixing rate of the current renderer.
a0 Pointer to the coefficient a0.
b0 Pointer to the coefficient b0.

Return Values

None.

Description

Computes and provides coefficient values for a0 and b0. These values may then be passed to the AXSetVoiceLpfCoefs function to establish a cut-off frequency for the per-voice low-pass filter.

Availability

Library Version Availability
Sound 2.0 Yes
Sound 1.0 Yes

Do Not Call From

None.

See Also

Cafe Audio System Overview
AX Data Structures and Definitions
AXSetVoiceLpf
AXSetVoiceLpfCoefs.html

Revision History

2013/05/08 Automated cleanup pass.
2012/01/26 Update to Audio API v2.0.
2011/02/21 Initial Version


CONFIDENTIAL