aboutsummaryrefslogtreecommitdiffstats
path: root/src/playerData.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-04-12 04:07:01 +0000
committerEric Wong <normalperson@yhbt.net>2008-04-12 04:07:01 +0000
commit1b6cf29937514d8d90c7e45b64664d1eb518fcc9 (patch)
tree391b19f59e58d4f287655ce90476b449f8d220bf /src/playerData.h
parentc069b89d86f9cc1f45b8917fbad77e5a860e938f (diff)
downloadmpd-1b6cf29937514d8d90c7e45b64664d1eb518fcc9.tar.gz
mpd-1b6cf29937514d8d90c7e45b64664d1eb518fcc9.tar.xz
mpd-1b6cf29937514d8d90c7e45b64664d1eb518fcc9.zip
unsigned integers in playerData.[ch]
The number of buffered chunks can obviously not become negative. The "buffered_before_play<0" therefore cannot be useful, so let's remove it, too. git-svn-id: https://svn.musicpd.org/mpd/trunk@7232 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/playerData.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/playerData.h b/src/playerData.h
index 00e4040be..f49834491 100644
--- a/src/playerData.h
+++ b/src/playerData.h
@@ -30,8 +30,8 @@
/* pick 1020 since its devisible for 8,16,24, and 32-bit audio */
#define CHUNK_SIZE 1020
-extern int buffered_before_play;
-extern int buffered_chunks;
+extern unsigned int buffered_before_play;
+extern unsigned int buffered_chunks;
typedef struct _PlayerData {
OutputBuffer buffer;