From 76f14028b56a1cdb6627b0db0e6af0a74a9b76f3 Mon Sep 17 00:00:00 2001 From: waker Date: Fri, 17 Jun 2011 20:54:11 +0200 Subject: merge new APIs for 0.5.2 from devel --- playlist.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'playlist.h') diff --git a/playlist.h b/playlist.h index 23f74459..2f9a9d6a 100644 --- a/playlist.h +++ b/playlist.h @@ -56,6 +56,7 @@ typedef struct playlist_s { int current_row[PL_MAX_ITERATORS]; // current row (cursor) struct DB_metaInfo_s *meta; // linked list storing metainfo int refc; + unsigned fast_mode : 1; } playlist_t; // global playlist control functions @@ -92,6 +93,9 @@ plt_ref (playlist_t *plt); void plt_unref (playlist_t *plt); +playlist_t * +plt_alloc (const char *title); + void plt_free (playlist_t *plt); @@ -437,4 +441,10 @@ pl_get_playlist (playItem_t *it); void plt_init_shuffle_albums (playlist_t *plt, int r); +void +plt_set_fast_mode (playlist_t *plt, int fast); + +int +plt_is_fast_mode (playlist_t *plt); + #endif // __PLAYLIST_H -- cgit v1.2.3