[pulseaudio-discuss] [PATCH] Added module-ofono-switch-on-voicecall
eu at felipetonello.com
Tue Mar 25 11:21:51 PDT 2014
On Tue, Mar 25, 2014 at 1:05 AM, Tanu Kaskinen
<tanu.kaskinen at linux.intel.com> wrote:
> On Mon, 2014-03-24 at 14:32 -0700, Felipe Tonello wrote:
>> On Mon, Mar 24, 2014 at 1:18 AM, Tanu Kaskinen
>> > Why does this module have to be loaded before module-syspend-on-idle?
>> > Such load order restrictions should be avoided if at all possible.
>> IIRC this was necessary because the sink/source new callback from this
>> module had to be called first then the one from
>> module-suspend-on-idle. Does it make sense?
> Not really. You're using different hooks than module-suspend-on-idle, so
> the module loading order has no effect on the order of the callbacks.
True. So perhaps there is no reason for the order anyway.
> This "prevent idle suspending" logic doesn't really belong to this
> module anyway, because this module is a policy module, but the "don't
> suspend on idle" property is part of the device, not part of the policy,
> in my opinion.
That's way this is optional. The parameters "sink" and "source" are
optional. This module was intended to be used in embedded devices
where the device configuration is well defined. Well, that was my
> Ideally the device would set the property by itself. Is
> it possible for you to set the property as part of the device
> configuration? Do you use static configuration in default.pa or UCM or
> path configuration files?
I use UCM files for path configurations.
Is it possible to change PA properties from a device configuration
file? I don't see any way to do that in the device configuration.
More information about the pulseaudio-discuss