aboutsummaryrefslogtreecommitdiffstats
path: root/src/pipe.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/pipe.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pipe.h b/src/pipe.h
index f1a231542..7ed6c917d 100644
--- a/src/pipe.h
+++ b/src/pipe.h
@@ -41,6 +41,13 @@ void
music_pipe_free(struct music_pipe *mp);
/**
+ * Returns the first #music_chunk from the pipe. Returns NULL if the
+ * pipe is empty.
+ */
+const struct music_chunk *
+music_pipe_peek(const struct music_pipe *mp);
+
+/**
* Removes the first chunk from the head, and returns it.
*/
struct music_chunk *