From 3216f4b25753d566793173c7a4f53a126ac37744 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 26 Sep 2013 22:09:42 +0200 Subject: MusicBuffer: expose the C++ API --- src/MusicPipe.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/MusicPipe.hxx') diff --git a/src/MusicPipe.hxx b/src/MusicPipe.hxx index 3d2e69d8d..2133bc086 100644 --- a/src/MusicPipe.hxx +++ b/src/MusicPipe.hxx @@ -30,7 +30,7 @@ #include struct music_chunk; -struct music_buffer; +class MusicBuffer; /** * A queue of #music_chunk objects. One party appends chunks at the @@ -109,7 +109,7 @@ public: * * @param buffer the buffer object to return the chunks to */ - void Clear(music_buffer *buffer); + void Clear(MusicBuffer &buffer); /** * Pushes a chunk to the tail of the pipe. -- cgit v1.2.3