nw::snd::SoundActor::PauseAllSound Member Function#include <nw/snd/snd_SoundActor.h>
void PauseAllSound(
bool flag,
int fadeFrames
);
| 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. The number of frames is based on the number of calls to SoundArchivePlayer::Update. |
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.
CONFIDENTIAL