music_pipe: renamed ob_* functions to music_pipe_*

Rename all functions to the new prefix.
This commit is contained in:
Max Kellermann
2008-11-02 14:18:34 +01:00
parent 8964c69a64
commit fd0f195bb7
6 changed files with 56 additions and 55 deletions

@@ -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;