Set panning

From Bennu Wiki
Revision as of 06:35, 14 March 2012 by (talk) (Created page with 'Category:functions Category:sound Category:mod_sound ==Definition== '''INT''' set_panning ( <'''INT''' channel> , <'''INT''' left> , <'''INT''' right> ) Sets the st…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


INT set_panning ( <INT channel> , <INT left> , <INT right> )

Sets the stereo panning of a sound channel, i.e. set the volumes of the left and right speakers individually.


INT channel - The sound channel to change the panning of.
INT left - The volume of the left speaker (0-255).
INT right - The volume of the right speaker (0-255).


INT : Status.

0 - Ok.
-1 - Error: sound inactive.

Sound Functions