aboutsummaryrefslogtreecommitdiff
path: root/src/outputBuffer.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-04-12 04:13:17 +0000
committerEric Wong <normalperson@yhbt.net>2008-04-12 04:13:17 +0000
commit68a625b5b819416dacf2e4def6e124413d5226c5 (patch)
tree3e5296d4eb43924442309cb57f42fa16b2143240 /src/outputBuffer.h
parent7a6c31ae069bb86e201d09525ef00ec265ca00f3 (diff)
moved CHUNK_SIZE to outputBuffer.h
The chunk size should be in outputBuffer.h since the output buffer code is its primary user. git-svn-id: https://svn.musicpd.org/mpd/trunk@7268 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/outputBuffer.h')
-rw-r--r--src/outputBuffer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/outputBuffer.h b/src/outputBuffer.h
index f2a1c873..b4d96acf 100644
--- a/src/outputBuffer.h
+++ b/src/outputBuffer.h
@@ -29,6 +29,9 @@
#define OUTPUT_BUFFER_DC_STOP -1
#define OUTPUT_BUFFER_DC_SEEK -2
+/* pick 1020 since its devisible for 8,16,24, and 32-bit audio */
+#define CHUNK_SIZE 1020
+
/**
* A ring set of buffers where the decoder appends data after the end,
* and the player consumes data from the beginning.