From 39bf84aa9f2ff43aa3694fe9a5b501573c7746f5 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 2 Nov 2008 16:57:37 +0100 Subject: music_pipe: renamed "size" to "num_chunks" The name "num_chunks" expresses the meaning of the variable better. --- src/pipe.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/pipe.h') diff --git a/src/pipe.h b/src/pipe.h index 51c8ed3f3..bfc1a7974 100644 --- a/src/pipe.h +++ b/src/pipe.h @@ -41,8 +41,7 @@ struct music_chunk { */ struct music_pipe { struct music_chunk *chunks; - - unsigned int size; + unsigned num_chunks; /** the index of the first decoded chunk */ unsigned int volatile begin; @@ -79,7 +78,7 @@ void music_pipe_set_lazy(bool lazy); static inline unsigned music_pipe_size(void) { - return music_pipe.size; + return music_pipe.num_chunks; } /** is the buffer empty? */ -- cgit v1.2.3