public void Destroy() { try { OpusLibrary.Java_aopus_OpusLibrary_decoderDestroy(JNIEnv.Handle, IntPtr.Zero, State); } catch (Exception ex) { Console.WriteLine(ex); } }
/// <summary> /// Destroys the codec. /// </summary> public override void Destroy() { if (_Encoder != null) { _Encoder.Destroy(); _Encoder = null; } if (_Decoder != null) { _Decoder.Destroy(); _Decoder = null; } }