MusicBuffer: expose the C++ API

This commit is contained in:
Max Kellermann
2013-09-26 22:09:42 +02:00
parent ce1d897575
commit 3216f4b257
11 changed files with 96 additions and 119 deletions

View File

@@ -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.