Mercurial > pygame
diff docs/ref/Channel.html @ 367:b1fa4546ec8d
mixer enhancements
| author | pygame |
|---|---|
| date | Wed, 17 Apr 2002 05:36:03 +0000 |
| parents | 86649d342371 |
| children | 14d423681804 |
line wrap: on
line diff
--- a/docs/ref/Channel.html Mon Apr 15 03:40:02 2002 +0000 +++ b/docs/ref/Channel.html Wed Apr 17 05:36:03 2002 +0000 @@ -146,11 +146,16 @@ <a name=set_volume><font size=+2><b>set_volume </b></font><br><font size=+1><tt> -Channel.set_volume(val) -> None +Channel.set_volume(val, [stereoval]) -> None </tt></font><ul> Sets the volume for the channel. The channel's volume level is mixed with the volume for the active sound object. The value is between 0.0 and 1.0. +<br> <br> +If mixer is using stereo, you can set the panning for audio +by supplying a volume for the left and right channels. If +SDL_mixer cannot set the panning, it will average the two +volumes. Panning requires SDL_mixer-1.2.1. </ul><br> <br> <a name=stop><font size=+2><b>stop
