MusicPipe: expose the C++ API

This commit is contained in:
Max Kellermann
2013-09-26 21:51:45 +02:00
parent 17e108a10a
commit ce1d897575
15 changed files with 187 additions and 242 deletions

View File

@@ -100,7 +100,7 @@ decoder_flush_chunk(struct decoder *decoder)
if (decoder->chunk->IsEmpty())
music_buffer_return(dc->buffer, decoder->chunk);
else
music_pipe_push(dc->pipe, decoder->chunk);
dc->pipe->Push(decoder->chunk);
decoder->chunk = NULL;
}