nw::snd::FxReverb::AssignWorkBuffer Member Function

Syntax

#include <nw/snd/snd_FxReverb.h>
bool AssignWorkBuffer(
     uptr buffer,
     size_t size
);

Arguments

Name Description
in buffer Start address of the memory to allocate.
in size Size of the memory to allocate.

Return Values

Returns true if allocation of memory succeeds. Returns false if it fails.

Description

Allocates memory to be used by the effect.

Memory allocation must be made before adding the effect using the SoundSystem::AppendEffect function.

The buffer size required for the effects varies depending on parameter values. Be sure to get the buffer size by calling GetRequiredMemSize.

See Also

GetRequiredMemSize
ReleaseWorkBuffer
SoundSystem::AppendEffect

Revision History

2010/06/17
Initial version.

CONFIDENTIAL