[Gambas-user] gb3: gb.sdl: playing music versus playing a sound
Kevin Fishburne
kevinfishburne at ...1887...
Wed Jul 13 23:00:34 CEST 2011
On 07/13/2011 05:41 AM, Kevin Fishburne wrote:
> I noticed that when playing music only one track is played at once by
> default. Is this a limitation of music or can channels be specified for
> playing music while still controlling the volume along the way (as per
> the "music" versus "sound" choice).
>
> Playing sounds is great, but the need exists for multiple, lengthy
> sounds to be played simultaneously while adjusting their volume
> independently. Simultaneous music calls could do this with existing
> methods maybe?
Just saw the Channel and Channels classes and it looks like that should
work.
http://gambasdoc.org/help/comp/gb.sdl.sound/channel?v3
http://gambasdoc.org/help/comp/gb.sdl.sound/channels?v3
--
Kevin Fishburne
Eight Virtues
www: http://sales.eightvirtues.com
e-mail: sales at ...1887...
phone: (770) 853-6271
More information about the User
mailing list