ClanSoft logo
ClanSoft logo

    CL_SoundBuffer_Session::set_pan

Syntax

bool set_pan(float new_pan);

Parameters

new_pan-New pan of the soundeffect played.

Return value

Returns true if the operation completed sucecsfully.

Description

Sets the panning of the soundeffect played in measures from -1 -> 1Setting the pan with a value of -1 will pan the soundeffect to theextreme left (left speaker only), 1 will pan the soundeffect to theextreme right (right speaker only).


Back to index



This page was built using the Perceps documentation system.