Re: [MeeGo-dev] Audio policy -- Adding one's own resource class

2011-09-23 Thread Sami Sirkiä
Yes, that is how it behaves. Policy rules can be changed per product, but there is no way an application could bring in a new rule. BR, SSirkia On 09/23/2011 01:55 PM, nimesh.chanch...@accenture.com wrote: Thx! Sami . So as I understand, policy unaware apps don't have to request for resourc

Re: [MeeGo-dev] Audio policy -- Adding one's own resource class

2011-09-23 Thread nimesh.chanchani
Thx! Sami . So as I understand, policy unaware apps don't have to request for resources. They just have to start using it? And ohmd will cork or uncork the resources as and when it desires? -Original Message- From: Sami Sirkiä [mailto:sami.sir...@cybercom.com] Sent: Friday, September 2

Re: [MeeGo-dev] Audio policy -- Adding one's own resource class

2011-09-23 Thread Sami Sirkiä
Hi, Resource policy daemon (ohmd) has an enforcement module in pulseaudio. A policy-unaware application may play sounds, but the streams are corked if there are higher priority streams playing. This means the audio from anroid app is not audible during phone calls, and the application does not e

Re: [MeeGo-dev] Audio policy -- Adding one's own resource class

2011-09-23 Thread nimesh.chanchani
Thanks Tukka . I have aa few questions about policy unaware apps: If the apps don't ask for the permission (policy unaware apps), they are all going to be treated as media players. In this case, how can they know if they are granted the permission to use a particular resource set? For instance