Version

menu_open
Wwise SDK 2021.1.14

◆ ZeroPadToMaxFrames()

void AkAudioBuffer::ZeroPadToMaxFrames ( )
inline

Can be used to transform an incomplete into a complete buffer with valid data. The invalid frames are made valid (zeroed out) for all channels and the validFrames count will be made equal to uMaxFrames.

Definition at line 571 of file AkCommonDefs.h.

References AKASSERT, AKPLATFORM::AkMemSet(), AkMin, GetChannel(), MaxFrames(), NumChannels(), pData, and uValidFrames.

Referenced by AkFXTailHandler::HandleTail().


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise