aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-02 14:18:34 +0100
committerMax Kellermann <max@duempel.org>2008-11-02 14:18:34 +0100
commitfd0f195bb778db55d900c5225fac4d89b1a16af5 (patch)
treede79045b3196d55916b9a5c868c00b44a5d78b05 /src/decoder
parent8964c69a643108a4b4828c99111517c0f6f8e3d0 (diff)
downloadmpd-fd0f195bb778db55d900c5225fac4d89b1a16af5.tar.gz
mpd-fd0f195bb778db55d900c5225fac4d89b1a16af5.tar.xz
mpd-fd0f195bb778db55d900c5225fac4d89b1a16af5.zip
music_pipe: renamed ob_* functions to music_pipe_*
Rename all functions to the new prefix.
Diffstat (limited to '')
-rw-r--r--src/decoder_api.c4
-rw-r--r--src/decoder_thread.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/decoder_api.c b/src/decoder_api.c
index 1c9bd822a..715a46c8d 100644
--- a/src/decoder_api.c
+++ b/src/decoder_api.c
@@ -66,7 +66,7 @@ void decoder_command_finished(mpd_unused struct decoder * decoder)
if (dc.command == DECODE_COMMAND_SEEK)
/* delete frames from the old song position */
- ob_clear();
+ music_pipe_clear();
dc.command = DECODE_COMMAND_NONE;
notify_signal(&pc.notify);
@@ -181,7 +181,7 @@ decoder_data(struct decoder *decoder,
normalizeData(data, datalen, &ob.audioFormat);
while (datalen > 0) {
- nbytes = ob_append(data, datalen, data_time, bitRate);
+ nbytes = music_pipe_append(data, datalen, data_time, bitRate);
datalen -= nbytes;
data += nbytes;
diff --git a/src/decoder_thread.c b/src/decoder_thread.c
index f45446dc2..a05783a62 100644
--- a/src/decoder_thread.c
+++ b/src/decoder_thread.c
@@ -158,7 +158,7 @@ static void decodeStart(void)
}
}
- ob_flush();
+ music_pipe_flush();
if (!ret) {
dc.error = plugin == NULL