diff options
author | Max Kellermann <max@duempel.org> | 2008-11-02 14:15:47 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-02 14:15:47 +0100 |
commit | 8964c69a643108a4b4828c99111517c0f6f8e3d0 (patch) | |
tree | f74d3a7af2f79393fe7471bcdc2737e3cd801bd3 /src/crossfade.c | |
parent | 767b4c95bdb468429232a96242bd73b8e92d8660 (diff) | |
download | mpd-8964c69a643108a4b4828c99111517c0f6f8e3d0.tar.gz mpd-8964c69a643108a4b4828c99111517c0f6f8e3d0.tar.xz mpd-8964c69a643108a4b4828c99111517c0f6f8e3d0.zip |
music_pipe: renamed struct output_buffer to struct music_pipe
.. and rename ob_chunk to struct music_chunk.
Diffstat (limited to '')
-rw-r--r-- | src/crossfade.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/crossfade.c b/src/crossfade.c index b4d4695c4..95f7e8566 100644 --- a/src/crossfade.c +++ b/src/crossfade.c @@ -20,6 +20,7 @@ #include "crossfade.h" #include "audio.h" #include "pcm_utils.h" +#include "pipe.h" #include <assert.h> #include <string.h> @@ -48,7 +49,7 @@ unsigned cross_fade_calc(float duration, float total_time, return chunks; } -void cross_fade_apply(ob_chunk * a, const ob_chunk * b, +void cross_fade_apply(struct music_chunk *a, const struct music_chunk *b, const struct audio_format *format, unsigned int current_chunk, unsigned int num_chunks) { |