File tree Expand file tree Collapse file tree 3 files changed +23
-4
lines changed Expand file tree Collapse file tree 3 files changed +23
-4
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,10 @@ namespace Plugin {
89
89
_avInput = service->Root <Exchange::IAVInput>(_connectionId, 5000 , _T (" AVInputImplementation" ));
90
90
91
91
if (nullptr != _avInput) {
92
+ // <pca>
93
+ _avInput->InitializeIARM ();
94
+ // </pca>
95
+
92
96
// Register for notifications
93
97
_avInput->Register (_avInputNotification.baseInterface <Exchange::IAVInput::IDevicesChangedNotification>());
94
98
_avInput->Register (_avInputNotification.baseInterface <Exchange::IAVInput::ISignalChangedNotification>());
@@ -117,6 +121,10 @@ namespace Plugin {
117
121
_service->Unregister (&_avInputNotification);
118
122
119
123
if (nullptr != _avInput) {
124
+ // <pca>
125
+ _avInput->DeinitializeIARM ();
126
+ // </pca>
127
+
120
128
_avInput->Unregister (_avInputNotification.baseInterface <Exchange::IAVInput::IDevicesChangedNotification>());
121
129
_avInput->Unregister (_avInputNotification.baseInterface <Exchange::IAVInput::ISignalChangedNotification>());
122
130
_avInput->Unregister (_avInputNotification.baseInterface <Exchange::IAVInput::IInputStatusChangedNotification>());
Original file line number Diff line number Diff line change @@ -49,12 +49,16 @@ namespace Plugin {
49
49
{
50
50
LOGINFO (" Create AVInputImplementation Instance" );
51
51
AVInputImplementation::_instance = this ;
52
- InitializeIARM ();
52
+ // <pca>
53
+ // InitializeIARM();
54
+ // </pca>
53
55
}
54
56
55
57
AVInputImplementation::~AVInputImplementation ()
56
58
{
57
- DeinitializeIARM ();
59
+ // <pca>
60
+ // DeinitializeIARM();
61
+ // </pca>
58
62
59
63
AVInputImplementation::_instance = nullptr ;
60
64
_service = nullptr ;
Original file line number Diff line number Diff line change @@ -117,6 +117,11 @@ namespace Plugin {
117
117
_avInputImplementation->Dispatch (_event, _params);
118
118
}
119
119
120
+ // <pca>
121
+ void InitializeIARM ();
122
+ void DeinitializeIARM ();
123
+ // </pca>
124
+
120
125
protected:
121
126
122
127
Job (AVInputImplementation* avInputImplementation, Event event, ParamsType& params)
@@ -201,8 +206,10 @@ namespace Plugin {
201
206
int m_primVolume;
202
207
int m_inputVolume; // Player Volume
203
208
204
- void InitializeIARM ();
205
- void DeinitializeIARM ();
209
+ // <pca>
210
+ // void InitializeIARM();
211
+ // void DeinitializeIARM();
212
+ // </pca>
206
213
207
214
void dispatchEvent (Event, const ParamsType params);
208
215
void Dispatch (Event event, const ParamsType params);
You can’t perform that action at this time.
0 commit comments