playSources

external fun playSources(sources: ArrayList<ISoundSource>, preferences: SoundPlayingPreferences, listener: ISoundPlayingListener): Int

Play the requested sounds list. The provided progress listener will be used also for canceling the play. A progress listener can be attached to only one play operation at a time. The player will release the source when no more needed.

Return

GemError.NoError Success

GemError.NotFound Sound list not found

GemError.InvalidInput Invalid sound list provided

GemError.NotSupported Sound list not supported

GemError.General Any other error