All Classes |Grouped Classes |Index

Function set_pan

Sets the panning of the sound buffer played in measures from -1 -> 1.

	void CL_SoundBuffer::set_pan(
		float new_pan);

Detailed description:

Setting the pan with a value of -1 will pan the sound buffer to the extreme left (left speaker only), 1 will pan the sound buffer to the extreme right (right speaker only).