From 68a625b5b819416dacf2e4def6e124413d5226c5 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 12 Apr 2008 04:13:17 +0000 Subject: 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 --- src/outputBuffer.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/outputBuffer.h') diff --git a/src/outputBuffer.h b/src/outputBuffer.h index f2a1c8734..b4d96acf2 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. -- cgit v1.2.3