aboutsummaryrefslogtreecommitdiffstats
path: root/src/queue.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-08-21 19:17:14 +0200
committerMax Kellermann <max@duempel.org>2012-08-21 19:17:14 +0200
commit5ad21d7e98e1f21e09de66c1e0275ea2ab5b74e4 (patch)
treeb8b13a0b3109aa6124877f5c6d902928c82e06db /src/queue.h
parentef5125f8f4ee992c5a8f24d1b93851db5df5c43d (diff)
downloadmpd-5ad21d7e98e1f21e09de66c1e0275ea2ab5b74e4.tar.gz
mpd-5ad21d7e98e1f21e09de66c1e0275ea2ab5b74e4.tar.xz
mpd-5ad21d7e98e1f21e09de66c1e0275ea2ab5b74e4.zip
queue_save: save song priorities
Diffstat (limited to '')
-rw-r--r--src/queue.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/queue.h b/src/queue.h
index 5cb5c196b..e4bfcdffa 100644
--- a/src/queue.h
+++ b/src/queue.h
@@ -280,9 +280,11 @@ queue_modify_all(struct queue *queue);
*
* If a song is not in the database (determined by
* song_in_database()), it is freed when removed from the queue.
+ *
+ * @param priority the priority of this new queue item
*/
unsigned
-queue_append(struct queue *queue, struct song *song);
+queue_append(struct queue *queue, struct song *song, uint8_t priority);
/**
* Swaps two songs, addressed by their position.