+ if(__pDisconnectPlayer == null)
+ {
+ AppLogDebug("__pConnectPlayer == null");
+ __pDisconnectPlayer = new (std::nothrow) Player();
+ res = __pDisconnectPlayer->Construct(*this);
+ if(res != E_SUCCESS)
+ {
+ AppLogDebug("__pDisconnectPlayer Construct failed with %d",res);
+ return;
+ }
+ res = __pDisconnectPlayer->OpenFile(disconnectTonePath,false);
+ if(res != E_SUCCESS)
+ {
+ AppLogDebug("__pDisconnectPlayer OpenFile failed with %d",res);
+ return;
+ }
+ res = __pDisconnectPlayer->SetLooping(false);
+ if(res != E_SUCCESS)
+ {
+ AppLogDebug("__pDisconnectPlayer SetLooping failed with %d",res);
+ return;
+ }
+ res = __pDisconnectPlayer->SetVolume(80);
+ if(res != E_SUCCESS)
+ {
+ AppLogDebug("__pDisconnectPlayer SetLooping SetVolume with %d",res);
+ return;
+ }