nw::snd::Sound3DManager::Initialize Member Function

Syntax

#include <nw/snd/snd_Sound3DManager.h>

bool Initialize(
     const SoundArchive * archive,
     void         *buffer,
     size_t size
);

Arguments

Name Description
in archive The sound archive used by the 3D sound manager.
in buffer Pointer to the buffer.
in size Buffer size.

Return Values

Returns true if initialization was successful and false otherwise.

Description

This function initializes the 3D sound manager.

It is necessary to perform initialization before using the sound manager. The memory buffer set up with the 3D manager is used to play 3D sounds.

nw::snd::Sound3DManager::GetRequiredMemSize can be used to get the amount of memory required by the 3D sound manager.

See Also

GetRequiredMemSize

Revision History

2010/02/25
Initial version.

CONFIDENTIAL