return SDL::MixVolumeMusic($volume);
}
+sub mix_set_panning($$$$) {
+ my ($self,$channel,$left,$right) = @_;
+ return SDL::MixSetPanning($channel,$left,$right);
+ }
+
sub halt_channel ($$) {
my ($self,$channel) = @_;
Return true when the music is currently playing.
+=head2 sub mix_set_panning(channel,left,right)
+
+Set panning for mixer, Use MIX_CHANNEL_POST to process the postmix stream
+
+Volume for the left channel, range is 0(silence) to 255(loud)
+
+Volume for the right channel, range is 0(silence) to 255(loud)
+
=head1 AUTHORS
+Kartik Thakore
David J. Goehrig, basic doc added by Tels <http://bloodgate.com>.
=head1 SEE ALSO
RETVAL
int
+MixSetPanning ( channel, left, right )
+ int channel
+ Uint8 left
+ Uint8 right
+ CODE:
+ RETVAL = Mix_SetPanning(channel,left, right);
+ OUTPUT:
+ RETVAL
+
+
+int
MixPlayChannelTimed ( channel, chunk, loops, ticks )
int channel
Mix_Chunk *chunk