projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95cb193
)
ecore/ecore_audio: fix timer control logically wrong.
author
ChunEon Park
<hermet@hermet.pe.kr>
Sun, 1 Mar 2015 08:59:52 +0000
(17:59 +0900)
committer
ChunEon Park
<hermet@hermet.pe.kr>
Sun, 1 Mar 2015 08:59:52 +0000
(17:59 +0900)
@fix
src/lib/ecore_audio/ecore_audio_pulse_ml.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_audio/ecore_audio_pulse_ml.c
b/src/lib/ecore_audio/ecore_audio_pulse_ml.c
index 249269dc7dcc2c95fa544a002459cdc0eda32192..11cf118ba95d37774ca80bbc1cbe8d0981d326a0 100644
(file)
--- a/
src/lib/ecore_audio/ecore_audio_pulse_ml.c
+++ b/
src/lib/ecore_audio/ecore_audio_pulse_ml.c
@@
-129,7
+129,7
@@
_ecore_time_wrapper(void *data)
pa_time_event *event = (pa_time_event *)data;
event->callback(event->mainloop, event, &event->tv, event->userdata);
-
+ event->timer = NULL;
return ECORE_CALLBACK_CANCEL;
}
@@
-182,7
+182,7
@@
_ecore_pa_time_restart(pa_time_event *event, const struct timeval *tv)
}
interval = (tv->tv_sec - now.tv_sec) + (tv->tv_usec - now.tv_usec) / 1000;
- if (event->timer)
+ if (
!
event->timer)
{
event->timer = ecore_timer_add(interval, _ecore_time_wrapper, event);
}