Config = new LibCECConfiguration();
Config.DeviceTypes.Types[0] = CecDeviceType.RecordingDevice;
Config.DeviceName = "CEC Tester";
- Config.ClientVersion = CecClientVersion.Version1_7_1;
+ Config.ClientVersion = CecClientVersion.Version1_8_0;
Config.SetCallbacks(this);
LogLevel = (int)CecLogLevel.All;
Lib = new LibCecSharp(Config);
+ Lib.InitVideoStandalone();
Console.WriteLine("CEC Parser created - libCEC version " + Lib.ToString(Config.ServerVersion));
}
return gcnew String(retVal);
}
+ void InitVideoStandalone()
+ {
+ m_libCec->InitVideoStandalone();
+ }
+
private:
ICECAdapter * m_libCec;
CecCallbackMethods ^ m_callbacks;
Config.DeviceTypes.Types[0] = CecDeviceType.RecordingDevice;
Config.DeviceName = "CEC Config";
Config.GetSettingsFromROM = true;
- Config.ClientVersion = CecClientVersion.Version1_7_1;
+ Config.ClientVersion = CecClientVersion.Version1_8_0;
Callbacks = new CecCallbackWrapper(this);
Config.SetCallbacks(Callbacks);
LoadXMLConfiguration(ref Config);
Lib = new LibCecSharp(Config);
+ Lib.InitVideoStandalone();
InitializeComponent();
LoadButtonConfiguration();