Table of Contents

 
IsPaused
 

Purpose

Returns whether the clip is paused or not

 

Protoype

bool CSoundMngr::IsPaused (string str_id)
 

Parameters

id the ID of the sound object to query
 

Description

This function returns the value of the sound object's pause flag. If the sound clip is paused, then the function returns TRUE, otherwise it returns FALSE.

NOTE: This is a channel function, which means it can be used for both music and sfx objects. The function itself will handle distinguishing between the two.

 

Use

CSoundMngr sound;
if (sound.IsPaused("my_sound"))
    // sound is paused
 

Prev: IsMuted
Next: IsPlaying