nw::snd::SoundActor::PauseAllSound Member Function

Syntax

#include <nw/snd/snd_SoundActor.h>
void PauseAllSound(
     bool flag,
     int fadeFrames
);

Arguments

Name Description
in flag Playback pauses when this is true and restarts if this is false.
in fadeFrames Number of frames that elapse when fading in and out.

Return Values

None.

Description

Pauses or restarts all sounds that the actor is currently playing.

Performs processing identical to that when pausing or restarting each sound via the handle class.

The fade used during pause/restart operates independently for the fade-in used with restart and the fade-out used with pause.

Revision History

2010/02/23
Initial version.

CONFIDENTIAL