Am Tuesday 17 February 2009 20:46:20 schrieb SCarlson: > Does anyone know a good fix for the answer call "delay".. When I get a > call, I hit the answer button, and it takes approx. 3-5 seconds for the > phone to actually pick the call up??? What the heck is it doing? heh... Has > anyone tweaked around with this yet?
This is a (temporary) result of fixing bug FSO #205 as described in http://trac.freesmartphone.org/ticket/205 At the moment, we serialize all dbus signals initiated by oeventsd, meaning we wait until the result has been parsed, before we send the next one. In particular, this means we probably wait until the ring tone has stopped before actually taking the call and switching the audio scenario. "Thanks" to gstreamer and its audio buffers, this can take up to 3 seconds. This behaviour is slightly suboptimal for calls to different subsystems, which do not need to be serialized. Please open a ticket with this mail, so we do not forget the issue and I'll try to come up with a speed-up. In the meantime, please check whether applying the attached patch improves it for you. Cheers, -- :M:
diff --git a/framework/subsystems/oeventsd/fso_actions.py b/framework/subsystems/oeventsd/fso_actions.py index a3a2de4..c20e859 100644 --- a/framework/subsystems/oeventsd/fso_actions.py +++ b/framework/subsystems/oeventsd/fso_actions.py @@ -13,13 +13,13 @@ Module: fso_actions """ -__VERSION__ = "0.4.2" +__VERSION__ = "0.4.3" MODULE_NAME = "oeventsd" import framework.patterns.tasklet as tasklet from action import Action -from action import QueuedDBusAction as DBusAction +from action import QueuedDBusAction, DBusAction from framework.controller import Controller from framework.config import installprefix @@ -75,7 +75,7 @@ class AudioAction(Action): self.length = length def trigger(self, **kargs): - DBusAction( + QueuedDBusAction( dbus.SystemBus(), 'org.freesmartphone.odeviced', '/org/freesmartphone/Device/Audio', @@ -83,7 +83,7 @@ class AudioAction(Action): 'PlaySound', self.path, self.loop, self.length).trigger() def untrigger(self, **kargs): - DBusAction( + QueuedDBusAction( dbus.SystemBus(), 'org.freesmartphone.odeviced', '/org/freesmartphone/Device/Audio',
_______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community