void InputCEC::close() { if (m_adapter) { QLOG_DEBUG() << "Closing libCEC."; closeAdapter(); CECDestroy(m_adapter); } }
void InputCEC::reopenAdapter() { closeAdapter(); }
int PcapWrapper::closeAdapter(std::string adapter_name) { return closeAdapter(adapterId(adapter_name, ADAPTER_NAME)); }