예제 #1
0
 public void Dispose()
 {
     NewInstanceFromLocation       = null;
     NewInstanceFromPath           = null;
     NewInstanceFromFileDescriptor = null;
     NewInstanceEmpty = null;
     AddOption        = null;
     AddOptionFlag    = null;
     RetainInstance   = null;
     ReleaseInstance  = null;
     GetMrl           = null;
     Duplicate        = null;
     GetMetadata      = null;
     SetMetadata      = null;
     SaveMetadatas    = null;
     GetState         = null;
     GetStats         = null;
     GetSubItems      = null;
     EventManager     = null;
     GetDuration      = null;
     Parse            = null;
     ParseAsync       = null;
     IsParsed         = null;
     SetUserData      = null;
     GetUserData      = null;
     GetTrackInfo     = null;
 }
예제 #2
0
        private void InitVlcLib(string libVlcDllsDirectory)
        {
            if (!Directory.Exists(libVlcDllsDirectory))
            {
                throw new DirectoryNotFoundException(string.Format("The directory : {0} not found.", libVlcDllsDirectory));
            }

            string libVlcFilePath = Path.Combine(libVlcDllsDirectory, "libvlc.dll");

            if (!File.Exists(libVlcFilePath))
            {
                throw new FileNotFoundException("Libvlc library not found in directory.");
            }
            string libVlcCoreFilePath = Path.Combine(libVlcDllsDirectory, "libvlccore.dll");

            if (!File.Exists(libVlcCoreFilePath))
            {
                throw new FileNotFoundException("Libvlccore library not found in directory.");
            }

            myLibVlcCoreDllHandle = Win32Interop.LoadLibrary(libVlcCoreFilePath);
            if (myLibVlcCoreDllHandle == IntPtr.Zero)
            {
                throw new Win32Exception(Marshal.GetLastWin32Error());
            }
            myLibVlcDllHandle = Win32Interop.LoadLibrary(libVlcFilePath);
            if (myLibVlcDllHandle == IntPtr.Zero)
            {
                throw new Win32Exception(Marshal.GetLastWin32Error());
            }

            GetVersion = new LibVlcFunction <GetVersion>(myLibVlcDllHandle);

            var reg   = new Regex("^[0-9.]*");
            var match = reg.Match(GetVersion.Invoke());

            VlcVersion = new Version(match.Groups[0].Value);

            NewInstance     = new LibVlcFunction <NewInstance>(myLibVlcDllHandle, VlcVersion);
            ReleaseInstance = new LibVlcFunction <ReleaseInstance>(myLibVlcDllHandle, VlcVersion);
            RetainInstance  = new LibVlcFunction <RetainInstance>(myLibVlcDllHandle, VlcVersion);
            AddInterface    = new LibVlcFunction <AddInterface>(myLibVlcDllHandle, VlcVersion);
            SetExitCallback = new LibVlcFunction <SetExitCallback>(myLibVlcDllHandle, VlcVersion);
            Wait            = new LibVlcFunction <Wait>(myLibVlcDllHandle, VlcVersion);
            SetUserAgent    = new LibVlcFunction <SetUserAgent>(myLibVlcDllHandle, VlcVersion);
            GetCompiler     = new LibVlcFunction <GetCompiler>(myLibVlcDllHandle, VlcVersion);
            GetChangeSet    = new LibVlcFunction <GetChangeSet>(myLibVlcDllHandle, VlcVersion);
            FreeMemory      = new LibVlcFunction <FreeMemory>(myLibVlcDllHandle, VlcVersion);
            //GetModuleDescriptionList = new LibVlcFunction<GetModuleDescriptionList>(myLibVlcDllHandle, VlcVersion);
            //ReleaseModule = new LibVlcFunction<ReleaseModuleDescription>(myLibVlcDllHandle, VlcVersion);

            EventInterops         = new LibVlcAsynchronousEvents(myLibVlcDllHandle, VlcVersion);
            MediaPlayerInterops   = new LibVlcMediaPlayer(myLibVlcDllHandle, VlcVersion);
            MediaInterops         = new LibVlcMedia(myLibVlcDllHandle, VlcVersion);
            MediaListInterops     = new LibVlcMediaList(myLibVlcDllHandle, VlcVersion);
            AudioInterops         = new LibVlcAudio(myLibVlcDllHandle, VlcVersion);
            VideoInterops         = new LibVlcVideo(myLibVlcDllHandle, VlcVersion);
            LoggingInterops       = new LibVlcLogging(myLibVlcDllHandle, VlcVersion);
            ErrorHandlingInterops = new LibVlcErrorHandling(myLibVlcDllHandle, VlcVersion);
        }
예제 #3
0
 internal LibVlcMedia(IntPtr libVlcDllHandle, Version vlcVersion)
 {
     NewInstanceFromLocation       = new LibVlcFunction <Signatures.LibVlc.Media.NewFromLocation>(libVlcDllHandle, vlcVersion);
     NewInstanceFromPath           = new LibVlcFunction <Signatures.LibVlc.Media.NewFromPath>(libVlcDllHandle, vlcVersion);
     NewInstanceFromFileDescriptor = new LibVlcFunction <Signatures.LibVlc.Media.NewFromFileDescriptor>(libVlcDllHandle, vlcVersion);
     NewInstanceEmpty = new LibVlcFunction <Signatures.LibVlc.Media.NewEmpty>(libVlcDllHandle, vlcVersion);
     AddOption        = new LibVlcFunction <Signatures.LibVlc.Media.AddOption>(libVlcDllHandle, vlcVersion);
     AddOptionFlag    = new LibVlcFunction <Signatures.LibVlc.Media.AddOptionFlag>(libVlcDllHandle, vlcVersion);
     RetainInstance   = new LibVlcFunction <Signatures.LibVlc.Media.RetainInstance>(libVlcDllHandle, vlcVersion);
     ReleaseInstance  = new LibVlcFunction <Signatures.LibVlc.Media.ReleaseInstance>(libVlcDllHandle, vlcVersion);
     GetMrl           = new LibVlcFunction <Signatures.LibVlc.Media.GetMrl>(libVlcDllHandle, vlcVersion);
     Duplicate        = new LibVlcFunction <Signatures.LibVlc.Media.Duplicate>(libVlcDllHandle, vlcVersion);
     GetMetadata      = new LibVlcFunction <Signatures.LibVlc.Media.GetMetadata>(libVlcDllHandle, vlcVersion);
     SetMetadata      = new LibVlcFunction <Signatures.LibVlc.Media.SetMetadata>(libVlcDllHandle, vlcVersion);
     SaveMetadatas    = new LibVlcFunction <Signatures.LibVlc.Media.SaveMetadatas>(libVlcDllHandle, vlcVersion);
     GetState         = new LibVlcFunction <Signatures.LibVlc.Media.GetState>(libVlcDllHandle, vlcVersion);
     GetStats         = new LibVlcFunction <Signatures.LibVlc.Media.GetStats>(libVlcDllHandle, vlcVersion);
     GetSubItems      = new LibVlcFunction <Signatures.LibVlc.Media.GetSubItems>(libVlcDllHandle, vlcVersion);
     EventManager     = new LibVlcFunction <Signatures.LibVlc.Media.EventManager>(libVlcDllHandle, vlcVersion);
     GetDuration      = new LibVlcFunction <Signatures.LibVlc.Media.GetDuration>(libVlcDllHandle, vlcVersion);
     Parse            = new LibVlcFunction <Signatures.LibVlc.Media.Parse>(libVlcDllHandle, vlcVersion);
     ParseAsync       = new LibVlcFunction <Signatures.LibVlc.Media.ParseAsync>(libVlcDllHandle, vlcVersion);
     IsParsed         = new LibVlcFunction <Signatures.LibVlc.Media.IsParsed>(libVlcDllHandle, vlcVersion);
     SetUserData      = new LibVlcFunction <Signatures.LibVlc.Media.SetUserData>(libVlcDllHandle, vlcVersion);
     GetUserData      = new LibVlcFunction <Signatures.LibVlc.Media.GetUserData>(libVlcDllHandle, vlcVersion);
     GetTrackInfo     = new LibVlcFunction <Signatures.LibVlc.Media.GetTrackInfo>(libVlcDllHandle, vlcVersion);
 }
예제 #4
0
 public void Dispose()
 {
     GetVerbosity = null;
     SetVerbosity = null;
     Open         = null;
     Count        = null;
     Close        = null;
     Clear        = null;
     GetIterator  = null;
     HasNext      = null;
     FreeInstance = null;
     Next         = null;
 }
예제 #5
0
 internal LibVlcLogging(IntPtr myLibVlcDllHandle, Version vlcVersion)
 {
     GetVerbosity = new LibVlcFunction <Signatures.LibVlc.Logging.GetVerbosity>(myLibVlcDllHandle, vlcVersion);
     SetVerbosity = new LibVlcFunction <Signatures.LibVlc.Logging.SetVerbosity>(myLibVlcDllHandle, vlcVersion);
     Open         = new LibVlcFunction <Signatures.LibVlc.Logging.Open>(myLibVlcDllHandle, vlcVersion);
     Close        = new LibVlcFunction <Signatures.LibVlc.Logging.Close>(myLibVlcDllHandle, vlcVersion);
     Count        = new LibVlcFunction <Signatures.LibVlc.Logging.Count>(myLibVlcDllHandle, vlcVersion);
     Clear        = new LibVlcFunction <Signatures.LibVlc.Logging.Clear>(myLibVlcDllHandle, vlcVersion);
     GetIterator  = new LibVlcFunction <Signatures.LibVlc.Logging.GetIterator>(myLibVlcDllHandle, vlcVersion);
     HasNext      = new LibVlcFunction <Signatures.LibVlc.Logging.HasNext>(myLibVlcDllHandle, vlcVersion);
     FreeInstance = new LibVlcFunction <Signatures.LibVlc.Logging.FreeInstance>(myLibVlcDllHandle, vlcVersion);
     Next         = new LibVlcFunction <Signatures.LibVlc.Logging.Next>(myLibVlcDllHandle, vlcVersion);
 }
예제 #6
0
        public void Dispose()
        {
            if (myLibVlcDllHandle != IntPtr.Zero)
            {
                Win32Interop.FreeLibrary(myLibVlcDllHandle);
                myLibVlcDllHandle = IntPtr.Zero;
            }
            if (myLibVlcCoreDllHandle != IntPtr.Zero)
            {
                Win32Interop.FreeLibrary(myLibVlcCoreDllHandle);
                myLibVlcCoreDllHandle = IntPtr.Zero;
            }
            NewInstance = null;
            ReleaseInstance = null;
            RetainInstance = null;
            AddInterface = null;
            SetExitCallback = null;
            Wait = null;
            SetUserAgent = null;
            GetVersion = null;
            GetCompiler = null;
            GetChangeSet = null;
            FreeMemory = null;
            //GetModuleDescriptionList = null;
            //ReleaseModule = null;

            if (EventInterops != null)
                EventInterops.Dispose();
            EventInterops = null;
            if (MediaPlayerInterops != null)
                MediaPlayerInterops.Dispose();
            MediaPlayerInterops = null;
            if (MediaInterops != null)
                MediaInterops.Dispose();
            MediaInterops = null;
            if (MediaListInterops != null)
                MediaListInterops.Dispose();
            MediaListInterops = null;
            if (AudioInterops != null)
                AudioInterops.Dispose();
            AudioInterops = null;
            if (VideoInterops != null)
                VideoInterops.Dispose();
            VideoInterops = null;
            if (LoggingInterops != null)
                LoggingInterops.Dispose();
            LoggingInterops = null;
            if (MediaListPlayerInterops != null)
                MediaListPlayerInterops.Dispose();
            MediaListPlayerInterops = null;
        }
예제 #7
0
        internal LibVlcMediaPlayer(IntPtr libVlcDllHandle, Version vlcVersion)
        {
            NewInstance            = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.NewInstance>(libVlcDllHandle, vlcVersion);
            NewInstanceFromMedia   = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.NewInstanceFromMedia>(libVlcDllHandle, vlcVersion);
            ReleaseInstance        = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.ReleaseInstance>(libVlcDllHandle, vlcVersion);
            RetainInstance         = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.RetainInstance>(libVlcDllHandle, vlcVersion);
            SetMedia               = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.SetMedia>(libVlcDllHandle, vlcVersion);
            GetMedia               = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.GetMedia>(libVlcDllHandle, vlcVersion);
            EventManagerNewIntance = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.EventManager>(libVlcDllHandle, vlcVersion);
            IsPlaying              = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.IsPlaying>(libVlcDllHandle, vlcVersion);
            Play                    = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Play>(libVlcDllHandle, vlcVersion);
            SetPause                = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.SetPause>(libVlcDllHandle, vlcVersion);
            Pause                   = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Pause>(libVlcDllHandle, vlcVersion);
            Stop                    = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Stop>(libVlcDllHandle, vlcVersion);
            SetHwnd                 = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.SetHwnd>(libVlcDllHandle, vlcVersion);
            GetHwnd                 = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.GetHwnd>(libVlcDllHandle, vlcVersion);
            GetLength               = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.GetLength>(libVlcDllHandle, vlcVersion);
            GetTime                 = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.GetTime>(libVlcDllHandle, vlcVersion);
            SetTime                 = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.SetTime>(libVlcDllHandle, vlcVersion);
            GetPosition             = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.GetPosition>(libVlcDllHandle, vlcVersion);
            SetPosition             = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.SetPosition>(libVlcDllHandle, vlcVersion);
            SetChapter              = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.SetChapter>(libVlcDllHandle, vlcVersion);
            GetChapter              = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.GetChapter>(libVlcDllHandle, vlcVersion);
            GetChapterCount         = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.GetChapterCount>(libVlcDllHandle, vlcVersion);
            WillPlay                = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.WillPlay>(libVlcDllHandle, vlcVersion);
            GetChapterCountForTitle = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.GetChapterCountForTitle>(libVlcDllHandle, vlcVersion);
            SetTitle                = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.SetTitle>(libVlcDllHandle, vlcVersion);
            GetTitle                = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.GetTitle>(libVlcDllHandle, vlcVersion);
            GetTitleCount           = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.GetTitleCount>(libVlcDllHandle, vlcVersion);
            SetPreviousChapter      = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.SetPreviousChapter>(libVlcDllHandle, vlcVersion);
            SetNextChapter          = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.SetNextChapter>(libVlcDllHandle, vlcVersion);
            GetRate                 = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.GetRate>(libVlcDllHandle, vlcVersion);
            SetRate                 = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.SetRate>(libVlcDllHandle, vlcVersion);
            GetState                = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.GetState>(libVlcDllHandle, vlcVersion);
            GetFPS                  = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.GetFPS>(libVlcDllHandle, vlcVersion);
            HasVideoOut             = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.HasVideoOut>(libVlcDllHandle, vlcVersion);
            IsSeekable              = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.IsSeekable>(libVlcDllHandle, vlcVersion);
            IsPausable              = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.IsPausable>(libVlcDllHandle, vlcVersion);
            NextFrame               = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.NextFrame>(libVlcDllHandle, vlcVersion);
            Navigate                = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Navigate>(libVlcDllHandle, vlcVersion);
            ReleaseTrackDescription = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.ReleaseTrackDescription>(libVlcDllHandle, vlcVersion);

            VideoInterops = new LibVlcMediaPlayerVideo(libVlcDllHandle, vlcVersion);
            AudioInterops = new LibVlcMediaPlayerAudio(libVlcDllHandle, vlcVersion);
        }
예제 #8
0
 internal LibVlcMediaList(IntPtr libVlcDllHandle, Version vlcVersion)
 {
     NewInstance     = new LibVlcFunction <Signatures.LibVlc.MediaList.NewInstance>(libVlcDllHandle, vlcVersion);
     ReleaseInstance = new LibVlcFunction <Signatures.LibVlc.MediaList.ReleaseInstance>(libVlcDllHandle, vlcVersion);
     RetainInstance  = new LibVlcFunction <Signatures.LibVlc.MediaList.RetainInstance>(libVlcDllHandle, vlcVersion);
     SetMedia        = new LibVlcFunction <Signatures.LibVlc.MediaList.SetMedia>(libVlcDllHandle, vlcVersion);
     GetMedia        = new LibVlcFunction <Signatures.LibVlc.MediaList.GetMedia>(libVlcDllHandle, vlcVersion);
     AddMedia        = new LibVlcFunction <Signatures.LibVlc.MediaList.AddMedia>(libVlcDllHandle, vlcVersion);
     InsertMedia     = new LibVlcFunction <Signatures.LibVlc.MediaList.InsertMedia>(libVlcDllHandle, vlcVersion);
     RemoveAt        = new LibVlcFunction <Signatures.LibVlc.MediaList.RemoveAt>(libVlcDllHandle, vlcVersion);
     Count           = new LibVlcFunction <Signatures.LibVlc.MediaList.Count>(libVlcDllHandle, vlcVersion);
     GetItemAt       = new LibVlcFunction <Signatures.LibVlc.MediaList.GetItemAt>(libVlcDllHandle, vlcVersion);
     IndexOf         = new LibVlcFunction <Signatures.LibVlc.MediaList.IndexOf>(libVlcDllHandle, vlcVersion);
     IsReadOnly      = new LibVlcFunction <Signatures.LibVlc.MediaList.IsReadOnly>(libVlcDllHandle, vlcVersion);
     Lock            = new LibVlcFunction <Signatures.LibVlc.MediaList.Lock>(libVlcDllHandle, vlcVersion);
     Unlock          = new LibVlcFunction <Signatures.LibVlc.MediaList.Unlock>(libVlcDllHandle, vlcVersion);
     EventManager    = new LibVlcFunction <Signatures.LibVlc.MediaList.EventManager>(libVlcDllHandle, vlcVersion);
 }
예제 #9
0
 public void Dispose()
 {
     NewInstance     = null;
     ReleaseInstance = null;
     RetainInstance  = null;
     SetMedia        = null;
     GetMedia        = null;
     AddMedia        = null;
     InsertMedia     = null;
     RemoveAt        = null;
     Count           = null;
     GetItemAt       = null;
     IndexOf         = null;
     IsReadOnly      = null;
     Lock            = null;
     Unlock          = null;
     EventManager    = null;
 }
예제 #10
0
 public void Dispose()
 {
     NewInstance     = null;
     ReleaseInstance = null;
     RetainInstance  = null;
     EventManager    = null;
     SetMediaPlayer  = null;
     SetMediaList    = null;
     Play            = null;
     Pause           = null;
     IsPlaying       = null;
     GetState        = null;
     PlayItemAtIndex = null;
     PlayItem        = null;
     Stop            = null;
     Next            = null;
     Previous        = null;
     SetPlaybackMode = null;
 }
예제 #11
0
 internal LibVlcMediaListPlayer(IntPtr libVlcDllHandle, Version vlcVersion)
 {
     NewInstance     = new LibVlcFunction <NewInstance>(libVlcDllHandle, vlcVersion);
     ReleaseInstance = new LibVlcFunction <ReleaseInstance>(libVlcDllHandle, vlcVersion);
     RetainInstance  = new LibVlcFunction <RetainInstance>(libVlcDllHandle, vlcVersion);
     EventManager    = new LibVlcFunction <EventManager>(libVlcDllHandle, vlcVersion);
     SetMediaPlayer  = new LibVlcFunction <SetMediaPlayer>(libVlcDllHandle, vlcVersion);
     SetMediaList    = new LibVlcFunction <SetMediaList>(libVlcDllHandle, vlcVersion);
     Play            = new LibVlcFunction <Play>(libVlcDllHandle, vlcVersion);
     Pause           = new LibVlcFunction <Pause>(libVlcDllHandle, vlcVersion);
     IsPlaying       = new LibVlcFunction <IsPlaying>(libVlcDllHandle, vlcVersion);
     GetState        = new LibVlcFunction <GetState>(libVlcDllHandle, vlcVersion);
     PlayItemAtIndex = new LibVlcFunction <PlayItemAtIndex>(libVlcDllHandle, vlcVersion);
     PlayItem        = new LibVlcFunction <PlayItem>(libVlcDllHandle, vlcVersion);
     Stop            = new LibVlcFunction <Stop>(libVlcDllHandle, vlcVersion);
     Next            = new LibVlcFunction <Next>(libVlcDllHandle, vlcVersion);
     Previous        = new LibVlcFunction <Previous>(libVlcDllHandle, vlcVersion);
     SetPlaybackMode = new LibVlcFunction <SetPlaybackMode>(libVlcDllHandle, vlcVersion);
 }
예제 #12
0
        internal LibVlcMediaPlayerVideo(IntPtr libVlcDllHandle, Version vlcVersion)
        {
            SetCallbacks       = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.SetCallbacks>(libVlcDllHandle, vlcVersion);
            SetFormatCallbacks = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.SetFormatCallbacks>(libVlcDllHandle, vlcVersion);
            SetFormat          = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.SetFormat>(libVlcDllHandle, vlcVersion);

            ToggleFullscreen     = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.ToggleFullscreen>(libVlcDllHandle, vlcVersion);
            SetFullscreen        = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.SetFullscreen>(libVlcDllHandle, vlcVersion);
            GetFullscreen        = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.GetFullscreen>(libVlcDllHandle, vlcVersion);
            SetKeyInput          = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.SetKeyInput>(libVlcDllHandle, vlcVersion);
            GetSize              = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.GetSize>(libVlcDllHandle, vlcVersion);
            GetCursor            = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.GetCursor>(libVlcDllHandle, vlcVersion);
            GetScale             = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.GetScale>(libVlcDllHandle, vlcVersion);
            SetScale             = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.SetScale>(libVlcDllHandle, vlcVersion);
            GetAspectRatio       = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.GetAspectRatio>(libVlcDllHandle, vlcVersion);
            SetAspectRatio       = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.SetAspectRatio>(libVlcDllHandle, vlcVersion);
            GetSpu               = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.GetSpu>(libVlcDllHandle, vlcVersion);
            GetSpuCount          = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.GetSpuCount>(libVlcDllHandle, vlcVersion);
            GetSpuDescription    = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.GetSpuDescription>(libVlcDllHandle, vlcVersion);
            SetSpu               = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.SetSpu>(libVlcDllHandle, vlcVersion);
            SetSubtitleFile      = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.SetSubtitleFile>(libVlcDllHandle, vlcVersion);
            GetTeletext          = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.GetTeletext>(libVlcDllHandle, vlcVersion);
            SetTeletext          = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.SetTeletext>(libVlcDllHandle, vlcVersion);
            ToggleTeletext       = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.ToggleTeletext>(libVlcDllHandle, vlcVersion);
            GetTrackCount        = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.GetTrackCount>(libVlcDllHandle, vlcVersion);
            GetTrack             = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.GetTrack>(libVlcDllHandle, vlcVersion);
            SetTrack             = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.SetTrack>(libVlcDllHandle, vlcVersion);
            TakeSnapshot         = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.TakeSnapshot>(libVlcDllHandle, vlcVersion);
            SetDeinterlace       = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.SetDeinterlace>(libVlcDllHandle, vlcVersion);
            GetIntegerMarquee    = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.GetIntegerMarquee>(libVlcDllHandle, vlcVersion);
            GetStringMarquee     = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.GetStringMarquee>(libVlcDllHandle, vlcVersion);
            SetIntegerMarquee    = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.SetIntegerMarquee>(libVlcDllHandle, vlcVersion);
            SetStringMarquee     = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.SetStringMarquee>(libVlcDllHandle, vlcVersion);
            GetIntegerLogoOption = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.GetIntegerLogoOption>(libVlcDllHandle, vlcVersion);
            SetIntegerLogoOption = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.SetIntegerLogoOption>(libVlcDllHandle, vlcVersion);
            SetStringLogoOption  = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.SetStringLogoOption>(libVlcDllHandle, vlcVersion);
            GetIntegerAdjust     = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.GetIntegerAdjust>(libVlcDllHandle, vlcVersion);
            SetIntegerAdjust     = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.SetIntegerAdjust>(libVlcDllHandle, vlcVersion);
            GetFloatAdjust       = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.GetFloatAdjust>(libVlcDllHandle, vlcVersion);
            SetFloatAdjust       = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Video.SetFloatAdjust>(libVlcDllHandle, vlcVersion);
        }
예제 #13
0
        public void Dispose()
        {
            SetCallbacks       = null;
            SetFormatCallbacks = null;
            SetFormat          = null;

            ToggleFullscreen     = null;
            SetFullscreen        = null;
            GetFullscreen        = null;
            SetKeyInput          = null;
            GetSize              = null;
            GetCursor            = null;
            GetScale             = null;
            SetScale             = null;
            GetAspectRatio       = null;
            SetAspectRatio       = null;
            GetSpu               = null;
            GetSpuCount          = null;
            GetSpuDescription    = null;
            SetSpu               = null;
            SetSubtitleFile      = null;
            GetTeletext          = null;
            SetTeletext          = null;
            ToggleTeletext       = null;
            GetTrackCount        = null;
            GetTrack             = null;
            SetTrack             = null;
            TakeSnapshot         = null;
            SetDeinterlace       = null;
            GetIntegerMarquee    = null;
            GetStringMarquee     = null;
            SetIntegerMarquee    = null;
            SetStringMarquee     = null;
            GetIntegerLogoOption = null;
            SetIntegerLogoOption = null;
            SetStringLogoOption  = null;
            GetIntegerAdjust     = null;
            SetIntegerAdjust     = null;
            GetFloatAdjust       = null;
            SetFloatAdjust       = null;
        }
 public void Dispose()
 {
     NewOutputListInstance   = null;
     ReleaseOutputList       = null;
     OutputDeviceCount       = null;
     GetOutputDeviceLongName = null;
     GetOutputDeviceIdName   = null;
     SetOutputDevice         = null;
     GetOutputDeviceType     = null;
     SetOutputDeviceType     = null;
     ToggleMute    = null;
     GetMute       = null;
     SetMute       = null;
     GetVolume     = null;
     SetVolume     = null;
     GetTrackCount = null;
     GetTrack      = null;
     SetTrack      = null;
     GetChannel    = null;
     SetChannel    = null;
     GetDelay      = null;
     SetDelay      = null;
 }
 internal LibVlcMediaPlayerAudio(IntPtr libVlcDllHandle, Version vlcVersion)
 {
     NewOutputListInstance   = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Audio.NewOutputListInstance>(libVlcDllHandle, vlcVersion);
     ReleaseOutputList       = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Audio.ReleaseOutputList>(libVlcDllHandle, vlcVersion);
     OutputDeviceCount       = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Audio.OutputDeviceCount>(libVlcDllHandle, vlcVersion);
     GetOutputDeviceLongName = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Audio.GetOutputDeviceLongName>(libVlcDllHandle, vlcVersion);
     GetOutputDeviceIdName   = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Audio.GetOutputDeviceIdName>(libVlcDllHandle, vlcVersion);
     SetOutputDevice         = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Audio.SetOutputDevice>(libVlcDllHandle, vlcVersion);
     GetOutputDeviceType     = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Audio.GetOutputDeviceType>(libVlcDllHandle, vlcVersion);
     SetOutputDeviceType     = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Audio.SetOutputDeviceType>(libVlcDllHandle, vlcVersion);
     ToggleMute    = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Audio.ToggleMute>(libVlcDllHandle, vlcVersion);
     GetMute       = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Audio.GetMute>(libVlcDllHandle, vlcVersion);
     SetMute       = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Audio.SetMute>(libVlcDllHandle, vlcVersion);
     GetVolume     = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Audio.GetVolume>(libVlcDllHandle, vlcVersion);
     SetVolume     = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Audio.SetVolume>(libVlcDllHandle, vlcVersion);
     GetTrackCount = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Audio.GetTrackCount>(libVlcDllHandle, vlcVersion);
     GetTrack      = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Audio.GetTrack>(libVlcDllHandle, vlcVersion);
     SetTrack      = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Audio.SetTrack>(libVlcDllHandle, vlcVersion);
     GetChannel    = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Audio.GetChannel>(libVlcDllHandle, vlcVersion);
     SetChannel    = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Audio.SetChannel>(libVlcDllHandle, vlcVersion);
     GetDelay      = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Audio.GetDelay>(libVlcDllHandle, vlcVersion);
     SetDelay      = new LibVlcFunction <Signatures.LibVlc.MediaPlayer.Audio.SetDelay>(libVlcDllHandle, vlcVersion);
 }
 public LibVlcErrorHandling(IntPtr libVlcDllHandle, Version vlcVersion)
 {
     GetErrorMessage = new LibVlcFunction <GetErrorMessage>(libVlcDllHandle, vlcVersion);
     ClearError      = new LibVlcFunction <ClearError>(libVlcDllHandle, vlcVersion);
 }
 public void Dispose()
 {
     GetErrorMessage = null;
     ClearError      = null;
 }
 internal LibVlcAsynchronousEvents(IntPtr libVlcDllHandle, Version vlcVersion)
 {
     Attach      = new LibVlcFunction <Attach>(libVlcDllHandle, vlcVersion);
     Detach      = new LibVlcFunction <Detach>(libVlcDllHandle, vlcVersion);
     GetTypeName = new LibVlcFunction <GetTypeName>(libVlcDllHandle, vlcVersion);
 }
 public void Dispose()
 {
     Attach      = null;
     Detach      = null;
     GetTypeName = null;
 }