Hi,
Our app sometimes has an issue (on iOS, Android, and in simulator) where all 32 channels indicate that they are playing, paused, and active at once. We are positive that this is not because we have 32 sounds playing at once. When this happens, we get some strange numbers from audio:
audio.countTotalChannels() --> returns -1.
audio.countReservedChannels() --> returns -1.
All the other audio.countXXX functions return 0. We have 9 reserved channels in our app, though this seems like an unrelated fact.
On one occasion, after 4 minutes of this behavior, our app created an alert with native.showAlert – and upon completion of the alert, may sounds played at the same time – as though they had been clogged up somehow. Has anyone else seen this behavior? Does it seem like we’re causing it, or is -1 a “normal” number to get for audio.countTotalChannels()? Is it possible this might happen as a result of a native.showAlert for any reason? It seems like a bug.
I have the log from the aforementioned occasion, and have attached it. But it’s quite long, and I’m not sure exactly where the event occurred. Maybe it will help?
I should note that calling audio.stop on every channel does not fix the issue.
Thanks.