We’ve been experiencing problems with audio channels on android builds of our app since the last day or so.
Audio on certain channels seems to sporadically change its volume without any initiation for doing so in the programme and a substantial lag also seems to be present between the play() calls and the time the audio actually plays.
iOS builds don’t seem to have this problem nor do simulator versions on macOS/ Win.
Any insights would be appreciated.
UPDATE:
It seems that the volume level problem occurs when I play another sound on the first available channel. I attempted to debug by printing this channel number of the said sound effect-- on iOS and desktop, an appropriate, free channel is usually picked (for e.g., channel 6) but when I debugged on Android, it returns 0 for the channel, which didn’t seem to make a lot of sense to me.
I should also clarify that this is not because I am playing too many sounds-- at any given time, there are at least 25 free channels available