nw::snd::SoundDataManager::LoadData Member Function

Syntax

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
);

List of Overloaded Member Functions

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.

Description of 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.

Description of 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