public VideoPlayer(string file,bool autosize = true) : base(file,autosize) { AudioStream = new AudioStream(file); if (AudioStream.Length == -1) AudioStream = null; else _player = new AudioPlayer(AudioStream); }
//TODO: audio & video offset public VideoPlayer(string audio, string file, bool autosize = true) : base(file, autosize) { AudioStream = new AudioStream(audio); _player = new AudioPlayer(AudioStream); }
public AudioPlayer(AudioStream stream) { Stream = stream; Paused = false; }
//TODO: audio & video offset public VideoPlayer(string audio,string file,bool autosize = true) : base(file,autosize) { AudioStream = new AudioStream(audio); _player = new AudioPlayer(AudioStream); }