nn::snd::CTR::Voice::DeleteWaveBuffer Member Function

Syntax

void DeleteWaveBuffer(
     WaveBuffer * pBuffer
);

Arguments

Name Description
in pBuffer Pointer to a buffer information structure.

Return Values

None.

Description

Deletes buffer information appended to a voice.

If the argument specifies a pointer to an unappended WaveBuffer, the function does nothing.

If the argument specifies the pointer to an appended WaveBuffer, the status of that buffer will change to nn::snd::CTR::WaveBuffer::STATUS_TO_BE_DELETED. Upon the processing of the subsequent call to the nn::snd::CTR::SendParameterToDsp function, the status is changed to nn::snd::CTR::WaveBuffer::STATUS_DONE. You need to be careful, because noise might result if you change the buffer address specified to WaveBuffer before the status becomes nn::snd::CTR::WaveBuffer::STATUS_DONE.

Revision History

2010/06/06
Initial version.

CONFIDENTIAL