aboutsummaryrefslogtreecommitdiffstats
path: root/src/MusicPipe.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-09-26 22:09:42 +0200
committerMax Kellermann <max@duempel.org>2013-09-26 22:21:56 +0200
commit3216f4b25753d566793173c7a4f53a126ac37744 (patch)
tree5a151a5c6f1750011279b50f0c8478787dac46e8 /src/MusicPipe.hxx
parentce1d8975751251d49581129193e09490ca650a8b (diff)
downloadmpd-3216f4b25753d566793173c7a4f53a126ac37744.tar.gz
mpd-3216f4b25753d566793173c7a4f53a126ac37744.tar.xz
mpd-3216f4b25753d566793173c7a4f53a126ac37744.zip
MusicBuffer: expose the C++ API
Diffstat (limited to 'src/MusicPipe.hxx')
-rw-r--r--src/MusicPipe.hxx4
1 files changed, 2 insertions, 2 deletions
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 <assert.h>
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.