internal VlcMediaPlayer(VlcManager manager) { Manager = manager; #if DEBUG Manager.CreateNewInstance(new[] { "--extraintf=logger", "--verbose=2" }); #else Manager.CreateNewInstance(new[] { "--quiet" }); #endif myMediaPlayerInstance = manager.CreateMediaPlayer(); RegisterEvents(); Chapters = new ChapterManagement(manager, myMediaPlayerInstance); SubTitles = new SubTitlesManagement(manager, myMediaPlayerInstance); Video = new VideoManagement(manager, myMediaPlayerInstance); Audio = new AudioManagement(manager, myMediaPlayerInstance); #if !NET20 && !NET35 && !NET40 Dialogs = new DialogsManagement(manager, myMediaPlayerInstance); #endif }
internal AudioManagement(VlcManager manager, VlcMediaPlayerInstance mediaPlayerInstance) { myManager = manager; myMediaPlayer = mediaPlayerInstance; Outputs = new AudioOutputsManagement(manager, mediaPlayerInstance); Tracks = new AudioTracksManagement(manager, mediaPlayerInstance); }
internal AudioOutputDevice(VlcManager manager, VlcMediaPlayerInstance mediaPlayerInstance, AudioOutputDescription audioDescription, int id) { _manager = manager; myMediaPlayerInstance = mediaPlayerInstance; myAudioOutputDescription = audioDescription; Id = id; }
internal AudioOutputDescription(string name, string description, VlcManager manager, VlcMediaPlayerInstance mediaPlayerInstance) { Name = name; Description = description; myManager = manager; myMediaPlayerInstance = mediaPlayerInstance; Devices = new AudioOutputDevices(this, manager, myMediaPlayerInstance); }
public VideoManagement(VlcManager manager, VlcMediaPlayerInstance mediaPlayerInstance) { myManager = manager; myMediaPlayer = mediaPlayerInstance; Tracks = new VideoTracksManagement(manager, mediaPlayerInstance); Marquee = new MarqueeManagement(manager, mediaPlayerInstance); Logo = new LogoManagement(manager, mediaPlayerInstance); Adjustments = new AdjustmentsManagement(manager, mediaPlayerInstance); }
internal VlcMediaPlayer(VlcManager manager, string[] options) { Manager = manager; Manager.CreateNewInstance(options); myMediaPlayerInstance = manager.CreateMediaPlayer(); RegisterEvents(); Chapters = new ChapterManagement(manager, myMediaPlayerInstance); SubTitles = new SubTitlesManagement(manager, myMediaPlayerInstance); Video = new VideoManagement(manager, myMediaPlayerInstance); Audio = new AudioManagement(manager, myMediaPlayerInstance); }
public VlcMediaPlayer(VlcManager manager) { Manager = manager; myMediaPlayerInstance = manager.CreateMediaPlayer(); RegisterEvents(); Chapters = new ChapterManagement(manager, myMediaPlayerInstance); SubTitles = new SubTitlesManagement(manager, myMediaPlayerInstance); Video = new VideoManagement(manager, myMediaPlayerInstance); Audio = new AudioManagement(manager, myMediaPlayerInstance); #if !NET20 && !NET35 && !NET40 Dialogs = new DialogsManagement(manager, myMediaPlayerInstance); #endif }
public ChapterManagement(VlcManager manager, VlcMediaPlayerInstance mediaPlayerInstance) { myManager = manager; myMediaPlayer = mediaPlayerInstance; }
internal AudioOutputDevices(AudioOutputDescription audioOutputDescription, VlcManager manager, VlcMediaPlayerInstance mediaPlayerInstance) { myAudioOutputDescription = audioOutputDescription; _manager = manager; myMediaPlayerInstance = mediaPlayerInstance; }
public VlcMediaPlayer(DirectoryInfo vlcLibDirectory, string[] options) : this(VlcManager.GetInstance(vlcLibDirectory), options) { }
public VlcMediaPlayer(DirectoryInfo vlcLibDirectory) : this(VlcManager.GetInstance(vlcLibDirectory)) { }
public LogoManagement(VlcManager manager, VlcMediaPlayerInstance mediaPlayerInstance) { _manager = manager; myMediaPlayer = mediaPlayerInstance; }
internal static List <AudioOutputDescription> GetSubOutputDescription(AudioOutputDescriptionStructure module, VlcManager manager, VlcMediaPlayerInstance mediaPlayerInstance) { var result = new List <AudioOutputDescription>(); result.Add(new AudioOutputDescription(module.Name, module.Description, manager, mediaPlayerInstance)); if (module.NextAudioOutputDescription != IntPtr.Zero) { AudioOutputDescriptionStructure nextModule = (AudioOutputDescriptionStructure)Marshal.PtrToStructure(module.NextAudioOutputDescription, typeof(AudioOutputDescriptionStructure)); var data = GetSubOutputDescription(nextModule, manager, mediaPlayerInstance); result.AddRange(data); } return(result); }
internal AudioOutputsManagement(VlcManager manager, VlcMediaPlayerInstance mediaPlayerInstance) { _manager = manager; myMediaPlayerInstance = mediaPlayerInstance; }
internal VideoTracksManagement(VlcManager manager, VlcMediaPlayerInstance mediaPlayerInstance) { _manager = manager; myMediaPlayer = mediaPlayerInstance; }
internal AudioOutputDescription(string name, string description, VlcManager manager) { Name = name; Description = description; myManager = manager; }
public override void OnApplyTemplate() { var host = Template.FindName("WFH", this) as WindowsFormsHost; var box = Template.FindName("PnlBox", this) as Panel; if (host != null && box != null) { if (Manager == null) { Manager = new VlcManager(); } Manager.ControlHandle = box.Handle; } }
public SubTitlesManagement(VlcManager manager, VlcMediaPlayerInstance mediaPlayerInstance) { _manager = manager; _mediaPlayerInstance = mediaPlayerInstance; }
internal AudioTracksManagement(VlcManager manager, VlcMediaPlayerInstance mediaPlayerInstance) { myManager = manager; myMediaPlayer = mediaPlayerInstance; }
public AdjustmentsManagement(VlcManager manager, VlcMediaPlayerInstance mediaPlayerInstance) { myManager = manager; myMediaPlayer = mediaPlayerInstance; }
public DialogsManagement(VlcManager manager, VlcMediaPlayerInstance mediaPlayerInstance) { myManager = manager; myMediaPlayer = mediaPlayerInstance; }
public MarqueeManagement(VlcManager manager, VlcMediaPlayerInstance mediaPlayerInstance) { myManager = manager; myMediaPlayer = mediaPlayerInstance; }