AXInitProfile

Syntax

#include <cafe/ax.h>

void AXInitProfile(AXPROFILE *profile, u32 maxProfiles);

Parameters

profile Pointer to maxProfiles number of AXPROFILE data structures allocated by the user application.
maxProfiles Number of AXPROFILE structures allocated.

Return Values

None.

Description

Provides the AX profiler with the initial array of AXPROFILE data structures into which audio frame measurements are to be recorded; also invokes the profiler, which will now run for the duration of the App. After initialization, use AXGetSwapProfile to switch profiling arrays to analyze the one recently collected.

The caller must ensure that the array is large enough to accommodate the number of audio frames that will occur until the next time AXGetSwapProfile is invoked. If not, AX will start overwriting the collected profiles.

Availability

Library Version Availability
Sound 2.0 Yes
Sound 1.0 Yes

Do Not Call From

None.

See Also

AXGetProfile
AXGetSwapProfile

Revision History

2013/05/08 Automated cleanup pass.
2011/02/21 Initial version.


CONFIDENTIAL