|
19 | 19 |
|
20 | 20 | #include "HdmiCecSinkImplementation.h"
|
21 | 21 |
|
| 22 | +#include "ccec/CCEC.hpp" |
22 | 23 | #include "ccec/Connection.hpp"
|
23 | 24 | #include "ccec/CECFrame.hpp"
|
24 | 25 | #include "ccec/MessageEncoder.hpp"
|
@@ -104,7 +105,6 @@ static std::vector<DeviceFeatures> deviceFeatures = {DEVICE_FEATURES_TV};
|
104 | 105 | #define API_VERSION_NUMBER_MINOR 3
|
105 | 106 | #define API_VERSION_NUMBER_PATCH 7
|
106 | 107 |
|
107 |
| -using namespace CCEC; |
108 | 108 | using PowerState = WPEFramework::Exchange::IPowerManager::PowerState;
|
109 | 109 |
|
110 | 110 | namespace WPEFramework
|
@@ -2039,7 +2039,7 @@ namespace WPEFramework
|
2039 | 2039 |
|
2040 | 2040 |
|
2041 | 2041 | _instance->smConnection->sendTo(LogicalAddress::BROADCAST,
|
2042 |
| - MessageEncoder().encode(RequestActiveSource()), 500); |
| 2042 | + MessageEncoder().encode(CCEC::RequestActiveSource()), 500); |
2043 | 2043 | }
|
2044 | 2044 |
|
2045 | 2045 | void HdmiCecSinkImplementation::setActiveSource(bool isResponse)
|
@@ -2103,7 +2103,7 @@ namespace WPEFramework
|
2103 | 2103 |
|
2104 | 2104 | lang = _instance->deviceList[_instance->m_logicalAddressAllocated].m_currentLanguage;
|
2105 | 2105 |
|
2106 |
| - _instance->smConnection->sendTo(LogicalAddress::BROADCAST, MessageEncoder().encode(SetMenuLanguage(lang)), 100); |
| 2106 | + _instance->smConnection->sendTo(LogicalAddress::BROADCAST, MessageEncoder().encode(CCEC::SetMenuLanguage(lang)), 100); |
2107 | 2107 | }
|
2108 | 2108 |
|
2109 | 2109 | void HdmiCecSinkImplementation::updateInActiveSource(const int logical_address, const InActiveSource &source )
|
@@ -2202,7 +2202,7 @@ namespace WPEFramework
|
2202 | 2202 | }
|
2203 | 2203 |
|
2204 | 2204 | LOGINFO(" Send requestShortAudioDescriptor Message ");
|
2205 |
| - _instance->smConnection->sendTo(LogicalAddress::AUDIO_SYSTEM,MessageEncoder().encode(RequestShortAudioDescriptor(formatid,audioFormatCode,numberofdescriptor)), 1000); |
| 2205 | + _instance->smConnection->sendTo(LogicalAddress::AUDIO_SYSTEM,MessageEncoder().encode(CCEC::RequestShortAudioDescriptor(formatid,audioFormatCode,numberofdescriptor)), 1000); |
2206 | 2206 |
|
2207 | 2207 | }
|
2208 | 2208 |
|
|
0 commit comments