Skip to content

Commit 97414bc

Browse files
committed
RDKEMW-1015 : HDMICEC SINK COMRPC
1 parent 7f8dd89 commit 97414bc

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

HdmiCecSink/HdmiCecSink.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ namespace WPEFramework {
194194
Exchange::JHdmiCecSink::Event::SetSystemAudioModeEvent(_parent, audioMode);
195195
}
196196

197-
void ShortAudiodescriptorEvent(Exchange::IHdmiCecSink::IHdmiCecSinkShortAudioDescriptorIterator* const& ShortAudioDescriptor) override
197+
void ShortAudiodescriptorEvent(IValueIterator* const& ShortAudioDescriptor) override
198198
{
199199
LOGINFO("ShortAudiodescriptorEvent");
200200
Exchange::JHdmiCecSink::Event::ShortAudiodescriptorEvent(_parent, &ShortAudioDescriptor);

HdmiCecSink/HdmiCecSinkImplementation.cpp

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -994,15 +994,14 @@ namespace WPEFramework
994994
{
995995

996996
LOGINFO("Notify the DS ");
997-
std::vector<int> shortAudioDescriptors;
998-
for (size_t i = 0; i < audiodescriptor.Length(); i++) {
999-
shortAudioDescriptors.push_back(audiodescriptor[i].Number());
1000-
}
997+
1001998

1002-
while (index != _hdmiCecSourceNotifications.end()) {
1003-
(*index)->ShortAudioDescriptorEvent(shortAudioDescriptors);
1004-
index++;
1005-
}
999+
1000+
1001+
//while (index != _hdmiCecSourceNotifications.end()) {
1002+
// (*index)->ShortAudioDescriptorEvent(shortAudioDescriptors);
1003+
// index++;
1004+
//}
10061005
}
10071006

10081007
void HdmiCecSinkImplementation::Process_ShortAudioDescriptor_msg(const ReportShortAudioDescriptor &msg)

0 commit comments

Comments
 (0)