1
Audio / Re: Recycle Sound Players Using Callback
« on: March 04, 2014, 12:09:04 am »
That is certainly better than my workaround because it only runs once when a new sound needs to play.
I still think a callback would be better to put things in constant time, but this solution works for me because the number of players will not be too ridiculous in my case, neither should the number of sounds played simultaneously. So the fact that this solution deals in linear time is a non-issue, at least in this case.
Thanks Laurent!
I still think a callback would be better to put things in constant time, but this solution works for me because the number of players will not be too ridiculous in my case, neither should the number of sounds played simultaneously. So the fact that this solution deals in linear time is a non-issue, at least in this case.
Thanks Laurent!