Roll back thread crap. Trying another angle for a while.
authorDavid Griffith <dave@661.org>
Fri, 10 Apr 2015 09:12:44 +0000 (02:12 -0700)
committerDavid Griffith <dave@661.org>
Fri, 10 Apr 2015 09:12:44 +0000 (02:12 -0700)
src/curses/ux_audio.c

index b3b1571ee975819b6b23ded6450858de2d22af32..77a7a4be44105c598fbce95abb2e477a54eb554b 100644 (file)
@@ -173,9 +173,8 @@ void os_start_sample (int number, int volume, int repeats, zword eos)
     myeffect.repeats = repeats;
 
     if (blorb_map->chunks[resource.chunknum].type == bb_make_id('F','O','R','M')) {
-//     playaiff(myeffect);
-       pthread_create(&playaiff_id, NULL, (void *) paiff, (void *) &myeffect);
-//     pthread_join(playaiff_id, NULL);
+       playaiff(myeffect);
+
 
     } else if (blorb_map->chunks[resource.chunknum].type == bb_make_id('M','O','D',' ')) {
        playmod(myeffect);