void playq_song_fast_add_after ( struct vfsref nvr,
struct vfsref lvr,
unsigned int  index 
)

Add a song after the specified song.

Definition at line 465 of file playq.c.

00467 {
00468         struct vfslist newlist = VFSLIST_INITIALIZER;
00469 
00470         /* Recursively expand the item */
00471         vfs_unfold(&newlist, nvr);
00472         if (vfs_list_empty(&newlist))
00473                 return;
00474 
00475         /* Copy the expanded contents to the playlist */
00476         while ((nvr = vfs_list_last(&newlist)) != NULL) {
00477                 vfs_list_remove(&newlist, nvr);
00478                 vfs_list_insert_after(&playq_list, nvr, lvr);
00479                 gui_playq_notify_post_insertion(index + 1);
00480         }
00481 
00482         gui_playq_notify_done();
00483         g_cond_signal(playq_wakeup);
00484 }

Here is the call graph for this function:

Here is the caller graph for this function:

 All Data Structures Files Functions Variables Defines
Generated on Mon Mar 15 04:45:44 2010 for herrie by  doxygen 1.6.3