예제 #1
0
        public ManagedEVSdk.Structs.EVDeviceCli GetDevice(ManagedEVSdk.Structs.EV_DEVICE_TYPE_CLI type)
        {
            _log.InfoFormat("GetDevice: {0}", type);
            EVDeviceCli device = this.EVSdkWrapper.EVEngineGetDevice(type);

            _log.Info("GetDevice done");
            return(device);
        }
예제 #2
0
        public string GetCurrentSpeaker()
        {
            EVDeviceCli speaker = EVSdkManager.Instance.GetDevice(EV_DEVICE_TYPE_CLI.EV_DEVICE_AUDIO_PLAYBACK);

            return(null != speaker?Utils.Utf8Byte2DefaultStr(speaker.name) : "");
        }
예제 #3
0
        public string GetCurrentCamera()
        {
            EVDeviceCli camera = EVSdkManager.Instance.GetDevice(EV_DEVICE_TYPE_CLI.EV_DEVICE_VIDEO_CAPTURE);

            return(null != camera?Utils.Utf8Byte2DefaultStr(camera.name) : "");
        }
예제 #4
0
        public string GetCurrentMicrophone()
        {
            EVDeviceCli mic = EVSdkManager.Instance.GetDevice(EV_DEVICE_TYPE_CLI.EV_DEVICE_AUDIO_CAPTURE);

            return(null != mic?Utils.Utf8Byte2DefaultStr(mic.name) : "");
        }