added bQuickScan param to DetectDevices(), so we don't try to open a connection each...
[deb_libcec.git] / src / lib / LibCECC.cpp
index b73596e368bd04f08717c2ad4e6af54fccc92b8b..8309c3c60d0318b2137ca516c2d4a4884a61e2f8 100644 (file)
@@ -408,10 +408,10 @@ uint8_t cec_audio_get_status(void)
   return cec_parser ? cec_parser->AudioStatus() : (uint8_t)CEC_AUDIO_VOLUME_STATUS_UNKNOWN;
 }
 
-int8_t cec_detect_adapters(cec_adapter_descriptor *deviceList, uint8_t iBufSize, const char *strDevicePath /* = NULL */)
+int8_t cec_detect_adapters(cec_adapter_descriptor *deviceList, uint8_t iBufSize, const char *strDevicePath, int bQuickScan)
 {
   if (cec_parser)
-    return cec_parser->DetectAdapters(deviceList, iBufSize, strDevicePath);
+    return cec_parser->DetectAdapters(deviceList, iBufSize, strDevicePath, bQuickScan);
   return -1;
 }