playq.h File Reference

Playlist handling. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void playq_init (int autoplay, int xmms, int load_dumpfile)
 Initialize the playlist locking.
void playq_spawn (void)
 Spawn the playback thread.
void playq_shutdown (void)
 Shutdown the playback thread.
void playq_cursong_seek (int len, int rel)
 Seek the current played song.
void playq_cursong_next (void)
 Continue to the next song.
void playq_cursong_prev (void)
 Go back to the previous song.
void playq_cursong_stop (void)
 Stop playback.
void playq_cursong_pause (void)
 Pause or unpause the current song, depending on its current state.
void playq_repeat_toggle (void)
 Toggle whether repeat is turned on or off.
void playq_song_add_head (struct vfsref *vr)
 Lock queue and add a file or directory to the head of the playlist.
void playq_song_add_tail (struct vfsref *vr)
 Lock queue and add a file or directory to the tail of the playlist.
void playq_song_remove_all (void)
 Remove all songs from the playlist.
void playq_song_randomize (void)
 Randomize the playlist.
static void playq_lock (void)
 Acquire the lock on the playlist.
static void playq_unlock (void)
 Release the lock on the playlist.
void playq_song_fast_remove (struct vfsref *vr, unsigned int index)
 Remove the song with its corresponding index.
void playq_song_fast_add_before (struct vfsref *nvr, struct vfsref *lvr, unsigned int index)
 Add a song before the specified song.
void playq_song_fast_add_after (struct vfsref *nvr, struct vfsref *lvr, unsigned int index)
 Add a song after the specified song.
void playq_song_fast_move_up (struct vfsref *vr, unsigned int index)
 Move the specified song one position up.
void playq_song_fast_move_down (struct vfsref *vr, unsigned int index)
 Move the specified song one position down.
void playq_song_fast_move_head (struct vfsref *vr, unsigned int index)
 Move the specified song to the top.
void playq_song_fast_move_tail (struct vfsref *vr, unsigned int index)
 Move the specified song to the bottom.
void playq_song_fast_select (struct vfsref *vr)
 Switch playback to a specific song.

Variables

GMutex * playq_mtx
 The mutex that locks down the playlist.
struct vfslist playq_list
 The actual playlist containing all songs scheduled for playback.

Detailed Description

Playlist handling.

Definition in file playq.h.

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