Audio and Channels
BlitzMax Forums/BlitzMax Beginners Area/Audio and Channels
| ||
Hi can anyone point me towards a good tutorial on BM audio? Speicifcally I wanted to know: 1. Can a 'channel' can only play 1 sound at a time? 2. Are the number of channels dependent on the sound card? - and if so, how do you cope with this - assign priorities to the sounds? THanks |
| ||
To be honest i cannot answer these questions with confidence..heres how i currently use the sound system. channel:TChannel=PlaySound() Test if channel is still active.. if(not ChannelPlaying(channel))channel=null this will release the object.. It would seem the option to reassign channels is made availble so you can manage channels yourself + perhaps speed things up a little.. Personaly im not bothering with management, i simply grab the channel returned by playsound + release it when its no longer playing... |
| ||
ok thanks for the tips |
| ||
Can anyony answer any of my questions? Audio seems to have less info on it than other topics ;-( |
| ||
I recycle all my channels and use maximum 32 of them. And i create all channels at the start of the application. Since then i had no problems at all with sound. no clicks or sounds going mute liek i had before |