nn::snd::CTR::OutputCapture::Read Member Function

Syntax

s32 Read(
     s16 * pData,
     s32 length = NN_SND_SAMPLES_PER_FRAME
);

Arguments

Name Description
out pData Data buffer.
in length Sample length of the data to get

Return Values

Returns the sample length of the data actually obtained.

Description

Copies the data obtained from the DSP to the specified buffer.

The obtained data is interleaved 16 bit stereo PCM, so the size of the obtained data is length * 2 * sizeof(s16).

Revision History

2010/10/20
Initial version.

CONFIDENTIAL