Mercurial > audlegacy
diff src/audacious/ui_main.c @ 3089:f40b8491a812
Remove genevent, seperate playback logic into seperate control thread.
This still has bugs, so watch out.
author | William Pitcock <nenolod@atheme-project.org> |
---|---|
date | Mon, 16 Jul 2007 15:50:32 -0500 |
parents | 20830a69b5f5 |
children | 1ddeb9f068ab |
line wrap: on
line diff
--- a/src/audacious/ui_main.c Mon Jul 16 13:43:37 2007 -0500 +++ b/src/audacious/ui_main.c Mon Jul 16 15:50:32 2007 -0500 @@ -61,7 +61,6 @@ #include "configdb.h" #include "dnd.h" #include "dock.h" -#include "genevent.h" #include "hints.h" #include "input.h" #include "playback.h" @@ -2983,8 +2982,7 @@ static gint count = 0; gint time = 0; - /* run audcore events, then run our own. --nenolod */ - switch((time = audcore_generic_events())) + switch((time = playback_get_time())) { case -2: /* no usable output device */ @@ -2992,7 +2990,6 @@ run_no_output_device_dialog(); mainwin_stop_pushed(); GDK_THREADS_LEAVE(); - ev_waiting = FALSE; break; default: