Shutdown the playback thread. Definition at line 281 of file playq.c. 00282 { 00283 struct vfsref *vr; 00284 const char *filename; 00285 00286 playq_lock(); 00287 playq_flags = PF_QUIT; 00288 playq_unlock(); 00289 g_cond_signal(playq_wakeup); 00290 g_thread_join(playq_runner); 00291 00292 filename = config_getopt("playq.dumpfile"); 00293 if (filename[0] != '\0') { 00294 if (vfs_list_empty(&playq_list)) { 00295 /* Remove the autosave playlist */ 00296 vfs_delete(filename); 00297 } else { 00298 /* Flush the list back to the disk */ 00299 vr = vfs_write_playlist(&playq_list, NULL, filename); 00300 if (vr != NULL) 00301 vfs_close(vr); 00302 } 00303 } 00304 }
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]() |
1.6.3