Hi Frederic, On Tue, Jan 24, 2012 at 3:31 PM, Dalleau, Frederic <frederic.dalleau at intel.com> wrote: > This is good question. > > Current patch include a configuration, so either the user is fine with the > default sink or he do not use the feature at all :D > > However, the following possibilities can be written : > 1) statically configure another sink in configuration file. > 2) Use the intended role : "music", or "voice" > 3) Other audio policy? > > All these scenario can be resumed into a call to function that returns the > desired sink. > > Number 1) is too restrictive. > We could imagine the loopback is an application, so number 2) make sense. > Number 3) would for sure require an external module to avoid > module-bluetooth-device depending on a policy module. I got the impression that we are going forward with the idea of a policy module for PA, no idea if in the end it would load a policy or make a decision based on intent role, but anyways IMO the routing decisions should not be in module-bluetooth-discover. -- Luiz Augusto von Dentz