nn::snd::CTR::Voice::DeleteWaveBuffer Member Function
void DeleteWaveBuffer(
WaveBuffer * pBuffer
);
| Name | Description | |
|---|---|---|
| in | pBuffer | Pointer to a buffer information structure. |
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.
CONFIDENTIAL