nw::snd::SoundDataManager::LoadData Member Function#include <nw/snd/snd_SoundDataManager.h>
bool LoadData(
SoundArchive::ItemId id,
SoundMemoryAllocatable * pAllocator,
u32 loadFlag = LOAD_ALL,
size_t loadBlockSize = 0
);
bool LoadData(
const char * pItemName,
SoundMemoryAllocatable * pAllocator,
u32 loadFlag = LOAD_ALL,
size_t loadBlockSize = 0
);
LoadData(SoundArchive::ItemId, SoundMemoryAllocatable *, u32, size_t)
|
Loads the data in a sound archive. |
LoadData(const char *, SoundMemoryAllocatable *, u32, size_t)
|
Loads the data in a sound archive. |
LoadData(SoundArchive::ItemId, SoundMemoryAllocatable *, u32, size_t)The memory required to load data is allocated by pAllocater. Returns FALSE if sufficient memory cannot be allocated.
This function synchronously loads sound data. When loading sound data asynchronously, call this function from a thread used for loading. This function is thread-safe as long as no operations are performed while loading on the associated sound archive or on the sound heap passed as an argument.
LoadData(const char *, SoundMemoryAllocatable *, u32, size_t)The memory required to load data is allocated by pAllocater. Returns FALSE if sufficient memory cannot be allocated.
This function synchronously loads sound data. When loading sound data asynchronously, call this function from a thread used for loading. This function is thread-safe as long as no operations are performed while loading on the associated sound archive or on the sound heap passed as an argument.
CONFIDENTIAL