diff options
Diffstat (limited to 'src/pipe.c')
-rw-r--r-- | src/pipe.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pipe.c b/src/pipe.c index d02a00a04..320c5c3a3 100644 --- a/src/pipe.c +++ b/src/pipe.c @@ -61,6 +61,12 @@ music_pipe_free(struct music_pipe *mp) g_free(mp); } +const struct music_chunk * +music_pipe_peek(const struct music_pipe *mp) +{ + return mp->head; +} + struct music_chunk * music_pipe_shift(struct music_pipe *mp) { |