protected void Dispose(bool disposing) { if (!_disposed) { _disposed = true; if (_log != null) { _log.Dispose(); } if (VlcObject != null) { VlcObject.Dispose(); } VlcInstanceHandle.Dispose(); if (_excp != null) { _excp.Dispose(); } } }
private static extern int libvlc_playlist_delete_item(VlcInstanceHandle engine, int item, VlcExceptionHandle ex);
private static extern int libvlc_playlist_add(VlcInstanceHandle engine, string uri, string name, VlcExceptionHandle ex);
private static extern void libvlc_playlist_clear(VlcInstanceHandle engine, VlcExceptionHandle ex);
private static extern int libvlc_playlist_items_count(VlcInstanceHandle engine, VlcExceptionHandle ex);
private static extern int libvlc_playlist_isplaying(VlcInstanceHandle engine, VlcExceptionHandle ex);
internal VlcInput(VlcInstanceHandle _inst) { _input = libvlc_playlist_get_input(_inst, _excp); }
private static extern void libvlc_set_log_verbosity(VlcInstanceHandle engine, uint value, VlcExceptionHandle ex);
private static extern void libvlc_video_set_parent(VlcInstanceHandle p_instance, IntPtr window, VlcExceptionHandle p_exception);
private static extern void libvlc_audio_set_mute(VlcInstanceHandle p_instance, bool b, VlcExceptionHandle p_exception);
private static extern bool libvlc_audio_get_mute(VlcInstanceHandle p_instance, VlcExceptionHandle p_exception);
private static extern void libvlc_audio_toggle_mute(VlcInstanceHandle p_instance, VlcExceptionHandle p_exception);
private static extern void libvlc_audio_set_volume(VlcInstanceHandle engine, int volume, VlcExceptionHandle exception);
private static extern int libvlc_audio_get_volume(VlcInstanceHandle engine, VlcExceptionHandle exception);
private static extern Int32 libvlc_get_vlc_id(VlcInstanceHandle p_instance);
private static extern VlcLogHandle libvlc_log_open(VlcInstanceHandle engine, VlcExceptionHandle ex);
private static extern uint libvlc_get_log_verbosity(VlcInstanceHandle engine, VlcExceptionHandle ex);
private static extern void libvlc_playlist_play(VlcInstanceHandle p_instance, Int32 i, Int32 i2, [MarshalAs(UnmanagedType.LPArray, ArraySubType = UnmanagedType.LPStr)] string[] a, VlcExceptionHandle _excp);
internal VlcLog(VlcInstanceHandle instance) { _instance = instance; _log = libvlc_log_open(_instance, _excp); VlcException.HandleVlcException(ref _excp); }
private static extern VlcInputHandle libvlc_playlist_get_input(VlcInstanceHandle engine, VlcExceptionHandle ex);