File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -194,10 +194,10 @@ namespace WPEFramework {
194
194
Exchange::JHdmiCecSink::Event::SetSystemAudioModeEvent (_parent, audioMode);
195
195
}
196
196
197
- void ShortAudiodescriptorEvent (IHdmiCecSinkShortAudioDescriptorIterator* const & ShortAudioDescriptor ) override
197
+ void ShortAudiodescriptorEvent (const string& jsonresponse ) override
198
198
{
199
199
LOGINFO (" ShortAudiodescriptorEvent" );
200
- Exchange::JHdmiCecSink::Event::ShortAudiodescriptorEvent (_parent, &ShortAudioDescriptor );
200
+ Exchange::JHdmiCecSink::Event::ShortAudiodescriptorEvent (_parent, &jsonresponse );
201
201
}
202
202
203
203
void StandbyMessageReceived (const int logicalAddress) override
Original file line number Diff line number Diff line change @@ -994,14 +994,16 @@ namespace WPEFramework
994
994
{
995
995
996
996
LOGINFO (" Notify the DS " );
997
-
998
-
997
+ string shortAudioDescriptors;
999
998
1000
-
1001
- // while (index != _hdmiCecSourceNotifications.end()) {
1002
- // (*index)->ShortAudioDescriptorEvent(shortAudioDescriptors);
1003
- // index++;
1004
- // }
999
+ if (!audiodescriptor.ToString (shortAudioDescriptors)) {
1000
+ LOGERR (" Failed to stringify JsonArray" );
1001
+ }
1002
+
1003
+ while (index != _hdmiCecSourceNotifications.end ()) {
1004
+ (*index)->ShortAudioDescriptorEvent (shortAudioDescriptors);
1005
+ index++;
1006
+ }
1005
1007
}
1006
1008
1007
1009
void HdmiCecSinkImplementation::Process_ShortAudioDescriptor_msg (const ReportShortAudioDescriptor &msg)
You can’t perform that action at this time.
0 commit comments