cec: renamed enum methods. fixes potential macro collision with isset(). thanks davilla
[deb_libcec.git] / src / lib / devices / CECAudioSystem.cpp
index d6c6f70d53d99f1960b3bf9ab20bf863945fc268..67d25d69073e72354454ccd0f5fd48b2c1dc40f9 100644 (file)
@@ -90,8 +90,8 @@ bool CCECAudioSystem::TransmitAudioStatus(cec_logical_address dest)
   AddLog(CEC_LOG_NOTICE, strLog);
 
   cec_command command;
-  cec_command::format(command, m_iLogicalAddress, dest, CEC_OPCODE_REPORT_AUDIO_STATUS);
-  command.parameters.push_back((uint8_t) m_audioStatus);
+  cec_command::Format(command, m_iLogicalAddress, dest, CEC_OPCODE_REPORT_AUDIO_STATUS);
+  command.parameters.PushBack((uint8_t) m_audioStatus);
 
   return m_processor->Transmit(command);
 }
@@ -103,8 +103,8 @@ bool CCECAudioSystem::TransmitSystemAudioModeStatus(cec_logical_address dest)
   AddLog(CEC_LOG_NOTICE, strLog);
 
   cec_command command;
-  cec_command::format(command, m_iLogicalAddress, dest, CEC_OPCODE_SYSTEM_AUDIO_MODE_STATUS);
-  command.parameters.push_back((uint8_t) m_systemAudioStatus);
+  cec_command::Format(command, m_iLogicalAddress, dest, CEC_OPCODE_SYSTEM_AUDIO_MODE_STATUS);
+  command.parameters.PushBack((uint8_t) m_systemAudioStatus);
 
   return m_processor->Transmit(command);
 }