nn::snd::CTR::GetDroppedSoundFrameCount Function

Syntax

s32 GetDroppedSoundFrameCount();

Arguments

None.

Return Values

Returns the number of dropped sound frames.

Description

Gets the number of dropped sound frames.

When processing within a sound thread does not occur quickly (when the processing within a sound thread does not complete within an approximately 5 millisecond cycle), there is the possibility of sound skipping as a result of processing drops. This function can be used to confirm the total number of frames where processing drops occurred.

The processing drop counter is initialized for the sound thread when the nn::snd::CTR::SendParameterToDsp function is first called. The counter value returns the total number of processing dropped frames. The counter value can also be initialized by the nn::snd::CTR::ClearDroppedSoundFrameCount function.

The processing drop counter is incremented under the following conditions.

The counter is 16 bit, so unless you regularly initialize it, you will not get an accurate value from it.

Revision History

2010/10/21
Initial version.

CONFIDENTIAL