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); }
private void MapSelect_Show(object sender, EventArgs e) { player = new AudioPlayer(bgstream); player.Play(true); }
//TODO: audio & video offset public VideoPlayer(string audio,string file,bool autosize = true) : base(file,autosize) { AudioStream = new AudioStream(audio); _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); }