nw::snd::SoundActor::SoundActor Constructor

Syntax

#include <nw/snd/snd_SoundActor.h>
SoundActor(
     SoundArchivePlayer & soundArchivePlayer
);

Arguments

Name Description
in soundArchivePlayer Sound archive player to be used during playback.

Description

Constructor.

At initialization, the audio volume and pitch of the player are set to 1.0, the pan of the player is set to 0.0, and the number of simultaneously playable sounds is set to 1.

When using a constructor with arguments, Initialize does not need to be called. (However, calling it will not result in any problems.)

See Also

Initialize

Revision History

2010/03/05
Added a note about Initialize.
2010/02/23
Initial version.

CONFIDENTIAL