Logo Search packages:      
Sourcecode: libmpdclient version File versions  Download package

void mpd_song_set_pos ( struct mpd_song song,
unsigned  pos 

Sets the position within the queue. This value is not used for songs which are not in the queue.

This function is useful when applying the values returned by mpd_recv_queue_change_brief().

Definition at line 313 of file song.c.

References mpd_song_set_pos(), and mpd_song::pos.

Referenced by mpd_song_feed(), and mpd_song_set_pos().

      song->pos = pos;

Generated by  Doxygen 1.6.0   Back to index