Herrie's routine to fetch the next song from the playlist (always the first song). Definition at line 39 of file playq_party.c. 00040 { 00041 struct vfsref *vr, *nvr; 00042 00043 /* Fetch the first song in the list */ 00044 vr = vfs_list_first(&playq_list); 00045 if (vr == NULL) 00046 return (NULL); 00047 00048 /* Remove it from the list */ 00049 nvr = vfs_dup(vr); 00050 gui_playq_notify_pre_removal(1); 00051 vfs_list_remove(&playq_list, vr); 00052 if (playq_repeat) { 00053 /* Add it back to the tail */ 00054 vfs_list_insert_tail(&playq_list, vr); 00055 gui_playq_notify_post_insertion(vfs_list_items(&playq_list)); 00056 } else { 00057 vfs_close(vr); 00058 } 00059 gui_playq_notify_done(); 00060 00061 return (nvr); 00062 }
Here is the call graph for this function:
![]() |
1.6.3