コード例 #1
0
        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);
        }
コード例 #2
0
 internal void SetVolume(int volume)
 {
     _mpv?.SetVolume(volume);
 }