Exemple #1
0
        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();
                }
            }
        }
Exemple #2
0
 private static extern int libvlc_playlist_delete_item(VlcInstanceHandle engine, int item, VlcExceptionHandle ex);
Exemple #3
0
 private static extern int libvlc_playlist_add(VlcInstanceHandle engine, string uri, string name, VlcExceptionHandle ex);
Exemple #4
0
 private static extern void libvlc_playlist_clear(VlcInstanceHandle engine, VlcExceptionHandle ex);
Exemple #5
0
 private static extern int libvlc_playlist_items_count(VlcInstanceHandle engine, VlcExceptionHandle ex);
Exemple #6
0
 private static extern int libvlc_playlist_isplaying(VlcInstanceHandle engine, VlcExceptionHandle ex);
Exemple #7
0
 internal VlcInput(VlcInstanceHandle _inst)
 {
     _input = libvlc_playlist_get_input(_inst, _excp);
 }
Exemple #8
0
 private static extern void libvlc_set_log_verbosity(VlcInstanceHandle engine, uint value, VlcExceptionHandle ex);
Exemple #9
0
 private static extern void libvlc_video_set_parent(VlcInstanceHandle p_instance, IntPtr window, VlcExceptionHandle p_exception);
Exemple #10
0
 private static extern void libvlc_audio_set_mute(VlcInstanceHandle p_instance, bool b, VlcExceptionHandle p_exception);
Exemple #11
0
 private static extern bool libvlc_audio_get_mute(VlcInstanceHandle p_instance, VlcExceptionHandle p_exception);
Exemple #12
0
 private static extern void libvlc_audio_toggle_mute(VlcInstanceHandle p_instance, VlcExceptionHandle p_exception);
Exemple #13
0
 private static extern void libvlc_audio_set_volume(VlcInstanceHandle engine, int volume, VlcExceptionHandle exception);
Exemple #14
0
 private static extern int libvlc_audio_get_volume(VlcInstanceHandle engine, VlcExceptionHandle exception);
Exemple #15
0
 private static extern Int32 libvlc_get_vlc_id(VlcInstanceHandle p_instance);
Exemple #16
0
 private static extern VlcLogHandle libvlc_log_open(VlcInstanceHandle engine, VlcExceptionHandle ex);
Exemple #17
0
 private static extern uint libvlc_get_log_verbosity(VlcInstanceHandle engine, VlcExceptionHandle ex);
Exemple #18
0
 private static extern void libvlc_playlist_play(VlcInstanceHandle p_instance, Int32 i, Int32 i2, [MarshalAs(UnmanagedType.LPArray, ArraySubType = UnmanagedType.LPStr)] string[] a, VlcExceptionHandle _excp);
Exemple #19
0
 internal VlcLog(VlcInstanceHandle instance)
 {
     _instance = instance;
     _log      = libvlc_log_open(_instance, _excp);
     VlcException.HandleVlcException(ref _excp);
 }
Exemple #20
0
 private static extern VlcInputHandle libvlc_playlist_get_input(VlcInstanceHandle engine, VlcExceptionHandle ex);