nw::snd::SoundSystem::EnterSleep Member Function

Syntax

#include <nw/snd/snd_SoundSystem.h>

static void EnterSleep();

Arguments

None.

Return Values

None.

Description

Prepares the sound library for sleep mode.

Always call this function before entering sleep.

Threads for loading sound data are locked when preparing for sleep.

If there is data being loaded by a thread loading sound data, execution is blocked inside this function until data is finished loading.

To cancel sleep, call the LeaveSleep function.

See Also

LeaveSleep

Revision History

2011/01/11
Initial version.

CONFIDENTIAL