Table of Contents

 
RemoveMusic
 

Purpose

Removes the specified music stream

 

Protoype

void CSoundMngr::RemoveMusic (string str_music)
 

Parameters

music the ID of the music object to remove
 

Description

This function removes the single given music object from the manager and frees any memory used by that object.

 

Use

CSoundMngr sound;
sound.RemoveMusic("my_music");
 

Prev: RemoveAllSFX
Next: RemoveSFX