nw::snd::SoundPlayer::PauseAllSound Member Function#include <nw/snd/snd_SoundPlayer.h>
void PauseAllSound(
bool flag,
int fadeFrames
);
| Name | Description | |
|---|---|---|
| in | flag | If true, playback pauses. If false, playback restarts. |
| in | fadeFrames | Number of frames used for the fade-in/fade-out. |
Pauses or restarts all sounds.
Pauses or restarts all sounds currently playing on the player. 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