X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2FCECProcessor.h;h=82dc1499f5f25573856a51577c80463627e44923;hb=5606e90bb3c5a85ab8e29e639e8248581247699e;hp=c8c8262080c7addb337a7791c18c72939ac0dcdf;hpb=1113cb7d55328a6c15846955626187615a9ad02e;p=deb_libcec.git diff --git a/src/lib/CECProcessor.h b/src/lib/CECProcessor.h index c8c8262..82dc149 100644 --- a/src/lib/CECProcessor.h +++ b/src/lib/CECProcessor.h @@ -134,7 +134,7 @@ namespace CEC bool FindLogicalAddressAudioSystem(void); void LogOutput(const cec_command &data); - bool WaitForTransmitSucceeded(uint8_t iLength, uint32_t iTimeout = 1000); + bool WaitForTransmitSucceeded(CCECAdapterMessage *message); bool ParseMessage(const CCECAdapterMessage &msg); void ParseCommand(cec_command &command); @@ -154,6 +154,7 @@ namespace CEC CecBuffer m_commandBuffer; cec_keypress m_previousKey; CThread * m_busScan; + uint8_t m_iLineTimeout; }; class CCECBusScan : public CThread