nw::snd::SoundDataManager::Initialize Member Function

Syntax

#include <nw/snd/snd_SoundDataManager.h>
bool Initialize(
     const SoundArchive* arc,
     void         *buffer,
     u32 size
);

Arguments

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.

Return Values

Returns true if initialization was successful and false otherwise.

Description

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.

See Also

IsAvailable
GetRequiredMemSize
Finalize

Revision History

2010/02/01
Changed the function name Setup to Initialize.
2010/01/15
Initial version.

CONFIDENTIAL