Mercurial > audlegacy-plugins
changeset 1353:b5705eea23d9
sexypsf: new threading model
author | William Pitcock <nenolod@atheme-project.org> |
---|---|
date | Mon, 23 Jul 2007 17:53:45 -0500 |
parents | ab66f3ee7a11 |
children | b670d1f3c2e4 |
files | src/sexypsf/plugin.c |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/sexypsf/plugin.c Mon Jul 23 17:52:11 2007 -0500 +++ b/src/sexypsf/plugin.c Mon Jul 23 17:53:45 2007 -0500 @@ -53,7 +53,6 @@ return 0; } - void sexypsf_update(unsigned char *buffer, long count) { const int mask = ~((((16 / 8) * 2)) - 1); @@ -157,8 +156,8 @@ g_free(name); playing = 1; - dethread = g_thread_create((GThreadFunc)sexypsf_playloop, - NULL, TRUE, NULL); + dethread = g_thread_self(); + sexypsf_playloop(NULL); } }