Open madebykrol opened 7 years ago
ISound instance cannot loop on android devices.. Works fine on desktop.
if(this.soundRef == null) { this.soundRef = this.sound.play(0f, 1f, soundSystem.calculatePan(this.getPosition(), relativeToCheck.getPosition())); this.soundRef.setLooping(this.loop); } else { this.soundRef.setPan( soundSystem.calculatePan(this.getPosition(), relativeToCheck.getPosition()), soundSystem.calculateVolume(this.radius, this.falloffDistance, this.getPosition(), relativeToCheck.getPosition())); this.soundRef.resume(); } }
ISound instance cannot loop on android devices.. Works fine on desktop.