aboutsummaryrefslogtreecommitdiffstats
path: root/src/DecoderControl.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/DecoderControl.hxx
parentce1d8975751251d49581129193e09490ca650a8b (diff)
downloadmpd-3216f4b25753d566793173c7a4f53a126ac37744.tar.gz
mpd-3216f4b25753d566793173c7a4f53a126ac37744.tar.xz
mpd-3216f4b25753d566793173c7a4f53a126ac37744.zip
MusicBuffer: expose the C++ API
Diffstat (limited to '')
-rw-r--r--src/DecoderControl.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/DecoderControl.hxx b/src/DecoderControl.hxx
index 7f827d996..00fddecc6 100644
--- a/src/DecoderControl.hxx
+++ b/src/DecoderControl.hxx
@@ -31,6 +31,7 @@
#include <assert.h>
struct Song;
+class MusicBuffer;
class MusicPipe;
enum decoder_state {
@@ -122,7 +123,7 @@ struct decoder_control {
float total_time;
/** the #music_chunk allocator */
- struct music_buffer *buffer;
+ MusicBuffer *buffer;
/**
* The destination pipe for decoded chunks. The caller thread
@@ -288,7 +289,7 @@ struct decoder_control {
* the caller)
*/
void Start(Song *song, unsigned start_ms, unsigned end_ms,
- music_buffer *buffer, MusicPipe &pipe);
+ MusicBuffer &buffer, MusicPipe &pipe);
void Stop();