chiark / gitweb /
choose: Use a one-pass algorithm to select tracks.
[disorder] / server / play.h
index c40231241e48816fb84bb23a3f76772d97e1441f..aff474ce71d8c0d2bad64e04b5cd6135c5671efa 100644 (file)
@@ -75,9 +75,8 @@ void abandon(ev_source *ev,
             struct queue_entry *q);
 /* Abandon a possibly-prepared track. */
 
-int add_random_track(void);
-/* If random play is enabled then try to add a track to the queue.  On success
- * (including deliberartely doing nothing) return 0.  On error return -1. */
+void add_random_track(ev_source *ev);
+/* If random play is enabled then try to add a track to the queue. */
 
 #endif /* PLAY_H */