changeset 1354:b670d1f3c2e4

wavpack: new threading model
author William Pitcock <nenolod@atheme-project.org>
date Mon, 23 Jul 2007 17:54:54 -0500
parents b5705eea23d9
children 0428dcce1d45
files src/wavpack/libwavpack.cxx
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/wavpack/libwavpack.cxx	Mon Jul 23 17:53:45 2007 -0500
+++ b/src/wavpack/libwavpack.cxx	Mon Jul 23 17:54:54 2007 -0500
@@ -349,7 +349,8 @@
     isSeek = -1;
     killDecodeThread = false;
     AudioError = false;
-    thread_handle = g_thread_create(DecodeThread, (void *) data->filename, TRUE, NULL);
+    thread_handle = g_thread_self();
+    DecodeThread((void *) data->filename);
     return;
 }