[SDL] how others are handling sdl_mixer channels

Solra Bizna sbizna at tejat.net
Mon Dec 24 23:10:45 PST 2007


On Dec 24, 2007 10:55 AM, James Barrett <xucaen at gmail.com> wrote:
> Another way I could track sounds is to couple my sound with the channel
> it is playing on, then use the channel_finished callback to let me know
> when the channel is done.
This is the strategy I'd recommend. Dedicating channels to specific
sounds will quickly cause your channel count to go through the roof,
which is bad.
-:sigma.SB


More information about the SDL mailing list