ClanSoft logo
ClanSoft logo

    CL_SoundBuffer_Session::set_volume

Syntax

bool set_volume(float new_volume);

Parameters

new_volume-New volume of soundeffect

Return value

Returns true if the operation completed succesfully.

Description

Sets the volume of the soundeffect in a relative measure (0->1)A value of 0 will effectively mute the sound (although it willstill be sampled), and a value of 1 will set the volume to "max".


Back to index



This page was built using the Perceps documentation system.