aboutsummaryrefslogtreecommitdiffstats
path: root/src/queue.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/queue.h')
-rw-r--r--src/queue.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/queue.h b/src/queue.h
index b355a6a3e..b43e9c1dd 100644
--- a/src/queue.h
+++ b/src/queue.h
@@ -320,6 +320,14 @@ void
queue_shuffle_order(struct queue *queue);
/**
+ * Shuffles the virtual order of the last song in the specified
+ * (order) range. This is used in random mode after a song has been
+ * appended by queue_append().
+ */
+void
+queue_shuffle_order_last(struct queue *queue, unsigned start, unsigned end);
+
+/**
* Shuffles a (position) range in the queue. The songs are physically
* shuffled, not by using the "order" mapping.
*/