nw::snd::SoundDataManager::Initialize Member Function#include <nw/snd/snd_SoundDataManager.h>
bool Initialize(
const SoundArchive* arc,
void *buffer,
u32 size
);
| Name | Description | |
|---|---|---|
| in | arc | The sound archive used by the player that registers this sound data manager. |
| out | buffer | Pointer to the buffer. Must have 4-byte alignment. |
| in | size |
Buffer size. |
Initializes the sound data manager.
Sound data managers must be initialized before they are used. Initialize binds the sound data manager and sound archive, allowing the manager to be registered with the sound archive player.
You can use GetRequiredMemSize to get the memory size required by the sound data manager.
Setup to Initialize.CONFIDENTIAL