public void onMarkerReached(android.media.AudioTrack track) { // release the strong reference to the SoundEffectInstance, // so it can be garbage collected if not otherwise referenced track.stop(); var instance = this.instance; if (instance != null) { if (instance.IsLooped && (!instance.IsDisposed)) { track.play(); } else { this.instance = null; } } }
public void onPeriodicNotification(android.media.AudioTrack track) { }