aboutsummaryrefslogtreecommitdiffstats
path: root/src/MusicPipe.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/MusicPipe.cxx')
-rw-r--r--src/MusicPipe.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MusicPipe.cxx b/src/MusicPipe.cxx
index 2ff45748f..eadf526e1 100644
--- a/src/MusicPipe.cxx
+++ b/src/MusicPipe.cxx
@@ -73,12 +73,12 @@ MusicPipe::Shift()
}
void
-MusicPipe::Clear(music_buffer *buffer)
+MusicPipe::Clear(MusicBuffer &buffer)
{
music_chunk *chunk;
while ((chunk = Shift()) != nullptr)
- music_buffer_return(buffer, chunk);
+ buffer.Return(chunk);
}
void