diff options
author | Max Kellermann <max@duempel.org> | 2013-09-26 21:51:45 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-09-26 21:51:45 +0200 |
commit | ce1d8975751251d49581129193e09490ca650a8b (patch) | |
tree | 27eda9989e35a74ccdade4924c47391ce2ee56b6 /src/DecoderAPI.cxx | |
parent | 17e108a10a79a5cfb44981323442c92e35813e98 (diff) | |
download | mpd-ce1d8975751251d49581129193e09490ca650a8b.tar.gz mpd-ce1d8975751251d49581129193e09490ca650a8b.tar.xz mpd-ce1d8975751251d49581129193e09490ca650a8b.zip |
MusicPipe: expose the C++ API
Diffstat (limited to '')
-rw-r--r-- | src/DecoderAPI.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DecoderAPI.cxx b/src/DecoderAPI.cxx index 9af2ef49d..68ccd524c 100644 --- a/src/DecoderAPI.cxx +++ b/src/DecoderAPI.cxx @@ -164,7 +164,7 @@ decoder_command_finished(struct decoder *decoder) if (decoder->initial_seek_running) { assert(!decoder->seeking); assert(decoder->chunk == NULL); - assert(music_pipe_empty(dc->pipe)); + assert(dc->pipe->IsEmpty()); decoder->initial_seek_running = false; decoder->timestamp = dc->start_ms / 1000.; @@ -182,7 +182,7 @@ decoder_command_finished(struct decoder *decoder) decoder->chunk = NULL; } - music_pipe_clear(dc->pipe, dc->buffer); + dc->pipe->Clear(dc->buffer); decoder->timestamp = dc->seek_where; } |