Hi Ning,

I have now set "exclusive" flag, but then also, incoming call doesn't pre-empt 
audio player. For the phone application, I am using telephony plugin of murphy.

Please let me know if I need to do other changes.

Regards,

Jay Bhatt
Project Lead
---------------------------------------------------------------------------------------------------------------------------------------
[cid:image002.jpg@01CFF2A0.67821060]<http://www.igate.com/> SDF VII,Unit no 
20/4th Floor,SEEPZ Andheri - East,Mumbai - 400096,India
Office Tel: +91 22 8291454 | +91 22 71444283 | jay.bh...@igate.com | 
www.igate.com
[cid:image005.jpg@01CF6D3C.E6CF3BC0]<https://twitter.com/iGATE_Corp>[cid:image010.png@01CF6D3C.E6CF3BC0]<http://linkd.in/1nvzJai>[cid:image007.png@01CF6D3C.E6CF3BC0]<http://on.fb.me/18eFm3a>[cid:image016.png@01CF6D3C.C33BB850]<http://www.youtube.com/igatechannel>

From: Wang, Ning W [mailto:ning.w.w...@intel.com]
Sent: 27 October 2014 13:55
To: Jay D Bhatt; ivi@lists.tizen.org
Subject: RE: Incoming call doesn't preempt audio player

I see audio player has "exclusive" flag. This might be the reason why incoming 
call doesn't pre-empt audio player.

Thanks,
Ning
From: IVI [mailto:ivi-boun...@lists.tizen.org] On Behalf Of Jay D Bhatt
Sent: Monday, October 27, 2014 3:01 PM
To: ivi@lists.tizen.org<mailto:ivi@lists.tizen.org>
Subject: Incoming call doesn't preempt audio player

Hi,

I am working on two applications: audio player and phone.

I have made both applications resource aware applications. The Incoming call 
doesn't pre-empt audio player in below case:


1)      Audio Player playing audio file

2)      Incoming call comes, while the audio is playing.

3)      Expected behaviour should be audio should be paused and call ringtone 
and communication on phone is established. But existing behaviour is audio is 
not paused, it mixes with call ringtone and even when the call communication is 
established.

As per understanding both are using same audio_playback resource, so it should 
be released by audio player once acquired by phone application.

Below is the murphy related properties for phone:

murphyd[169]: I: Telephony resource-set configuration:
murphyd[169]: I:     zone: driver, class: phone, priority: 1
murphyd[169]: I:     playback: mandatory shared audio_playback role:s:phone
murphyd[169]: I:     recording: mandatory exclusive audio_recording role:s:phone

And below are the murphy related properties for audioplayer:

murphyd[169]: resource-set flags:1 priority:0 class:'player' zone:'driver'
murphyd[169]:    resource: name:'audio_playback' mandatory exclusive
murphyd[169]:       attribute role:'music'
murphyd[169]:       attribute pid:'<unknown>'
murphyd[169]:       attribute policy:'relaxed'

Is there anything wrong with the properties? Both have different priority and 
different application class, but as per murphy, call should pre-empt audio 
player. Can anybody help on this?

Thanks,
Jay


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Disclaimer~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Information contained and transmitted by this e-mail is confidential and 
proprietary to IGATE and its affiliates and is intended for use only by the 
recipient. If you are not the intended recipient, you are hereby notified that 
any dissemination, distribution, copying or use of this e-mail is strictly 
prohibited and you are requested to delete this e-mail immediately and notify 
the originator or mailad...@igate.com<mailto:mailad...@igate.com>. IGATE does 
not enter into any agreement with any party by e-mail. Any views expressed by 
an individual do not necessarily reflect the view of IGATE. IGATE is not 
responsible for the consequences of any actions taken on the basis of 
information provided, through this email. The contents of an attachment to this 
e-mail may contain software viruses, which could damage your own computer 
system. While IGATE has taken every reasonable precaution to minimise this 
risk, we cannot accept liability for any damage which you sustain as a result 
of software viruses. You should carry out your own virus checks before opening 
an attachment. To know more about IGATE please visit 
www.igate.com<http://www.igate.com>.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Disclaimer~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Information contained and transmitted by this e-mail is confidential and 
proprietary to IGATE and its affiliates and is intended for use only by the 
recipient. If you are not the intended recipient, you are hereby notified that 
any dissemination, distribution, copying or use of this e-mail is strictly 
prohibited and you are requested to delete this e-mail immediately and notify 
the originator or mailad...@igate.com <mailto:mailad...@igate.com>. IGATE does 
not enter into any agreement with any party by e-mail. Any views expressed by 
an individual do not necessarily reflect the view of IGATE. IGATE is not 
responsible for the consequences of any actions taken on the basis of 
information provided, through this email. The contents of an attachment to this 
e-mail may contain software viruses, which could damage your own computer 
system. While IGATE has taken every reasonable precaution to minimise this 
risk, we cannot accept liability for any damage which you sustain as a result 
of software viruses. You should carry out your own virus checks before opening 
an attachment. To know more about IGATE please visit www.igate.com 
<http://www.igate.com>.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi

Reply via email to