/** * Stops the currently playing sound */ public void Stop() { if (_audioPlayer != null) { _audioPlayer.Destroy(); _audioPlayer = null; } if (_original != null) { _params.CopyFrom(_original); _original = null; } }
// Copying methods /** * Returns a copy of this SfxrParams with all settings duplicated * @return A copy of this SfxrParams */ public SfxrParams Clone() { SfxrParams outp = new SfxrParams(); outp.CopyFrom(this); return(outp); }
// Copying methods /** * Returns a copy of this SfxrParams with all settings duplicated * @return A copy of this SfxrParams */ public SfxrParams Clone() { SfxrParams outp = new SfxrParams(); outp.CopyFrom(this); return outp; }