00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00031 struct vfsref;
00032
00036 void playq_init(int autoplay, int xmms, int load_dumpfile);
00040 void playq_spawn(void);
00044 void playq_shutdown(void);
00045
00049 void playq_cursong_seek(int len, int rel);
00053 void playq_cursong_next(void);
00057 void playq_cursong_prev(void);
00061 void playq_cursong_stop(void);
00066 void playq_cursong_pause(void);
00070 void playq_repeat_toggle(void);
00071
00076 void playq_song_add_head(struct vfsref *vr);
00081 void playq_song_add_tail(struct vfsref *vr);
00085 void playq_song_remove_all(void);
00089 void playq_song_randomize(void);
00090
00094 extern GMutex *playq_mtx;
00095
00099 static inline void
00100 playq_lock(void)
00101 {
00102 g_mutex_lock(playq_mtx);
00103 }
00104
00108 static inline void
00109 playq_unlock(void)
00110 {
00111 g_mutex_unlock(playq_mtx);
00112 }
00113
00114
00115
00116
00117
00118
00122 extern struct vfslist playq_list;
00123
00127 void playq_song_fast_remove(struct vfsref *vr, unsigned int index);
00131 void playq_song_fast_add_before(struct vfsref *nvr, struct vfsref *lvr,
00132 unsigned int index);
00136 void playq_song_fast_add_after(struct vfsref *nvr, struct vfsref *lvr,
00137 unsigned int index);
00141 void playq_song_fast_move_up(struct vfsref *vr, unsigned int index);
00145 void playq_song_fast_move_down(struct vfsref *vr, unsigned int index);
00149 void playq_song_fast_move_head(struct vfsref *vr, unsigned int index);
00153 void playq_song_fast_move_tail(struct vfsref *vr, unsigned int index);
00157 void playq_song_fast_select(struct vfsref *vr);