internal void PlayVideo(string filePath, bool hardwareDecoding, int volume, bool panscan) { if (_mpv == null) { _mpv = new MpvControl(); ShowControl(_mpv); } _mpv.SetVolume(volume); _mpv.Play(filePath, hardwareDecoding, panscan); }
internal void SetVolume(int volume) { _mpv?.SetVolume(volume); }