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

Add a song before the specified song.

Definition at line 443 of file playq.c.

00445 {
00446         struct vfslist newlist = VFSLIST_INITIALIZER;
00447 
00448         /* Recursively expand the item */
00449         vfs_unfold(&newlist, nvr);
00450         if (vfs_list_empty(&newlist))
00451                 return;
00452 
00453         /* Copy the expanded contents to the playlist */
00454         while ((nvr = vfs_list_first(&newlist)) != NULL) {
00455                 vfs_list_remove(&newlist, nvr);
00456                 vfs_list_insert_before(&playq_list, nvr, lvr);
00457                 gui_playq_notify_post_insertion(index);
00458         }
00459 
00460         gui_playq_notify_done();
00461         g_cond_signal(playq_wakeup);
00462 }

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:41 2010 for herrie by  doxygen 1.6.3