Anybody know if there’s a way for me to check via script if the iOS hardware decoder is currently free to use, or specifically if the iPod is playing at the moment? My previous games have all been released with older versions of Unity, so if the iPod was playing my in-game MP3 music was simply overridden by it. I actually prefer this functionality over the automatic fallback to CPU decoding that occurs with modern Unity, since now if a user is playing their iPod music my in-game music will just play right on top of it unless I provide a means for the user to manually disable it.
Do we have access to something like… if (iPodIsPlaying) { audio.Play(); } ?