aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-03-05 16:06:13 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-03-05 16:06:13 +0000
commit7dd33a490b04a30a48a8fb966edd7ace46ca8a9a (patch)
tree09b3c53a8c49ba6e592a70e33812f75a31d87590
parent09efb14dbbbbcbf1d96bbb0932009ab25e76868a (diff)
downloadmpd-7dd33a490b04a30a48a8fb966edd7ace46ca8a9a.tar.gz
mpd-7dd33a490b04a30a48a8fb966edd7ace46ca8a9a.tar.xz
mpd-7dd33a490b04a30a48a8fb966edd7ace46ca8a9a.zip
make chunk_size 1020, so its divisible for 8,16,24, and 32-bit audio
git-svn-id: https://svn.musicpd.org/mpd/trunk@207 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r--src/playerData.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/playerData.h b/src/playerData.h
index fccf782b4..830829fed 100644
--- a/src/playerData.h
+++ b/src/playerData.h
@@ -24,7 +24,8 @@
#include "decode.h"
#include "mpd_types.h"
-#define CHUNK_SIZE 1024
+/* 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;