diff options
author | Max Kellermann <max@duempel.org> | 2008-04-12 04:13:17 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-04-12 04:13:17 +0000 |
commit | 68a625b5b819416dacf2e4def6e124413d5226c5 (patch) | |
tree | 3e5296d4eb43924442309cb57f42fa16b2143240 | |
parent | 7a6c31ae069bb86e201d09525ef00ec265ca00f3 (diff) | |
download | mpd-68a625b5b819416dacf2e4def6e124413d5226c5.tar.gz mpd-68a625b5b819416dacf2e4def6e124413d5226c5.tar.xz mpd-68a625b5b819416dacf2e4def6e124413d5226c5.zip |
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
-rw-r--r-- | src/outputBuffer.h | 3 | ||||
-rw-r--r-- | src/playerData.h | 3 |
2 files changed, 3 insertions, 3 deletions
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. diff --git a/src/playerData.h b/src/playerData.h index f49834491..c9e57f0e5 100644 --- a/src/playerData.h +++ b/src/playerData.h @@ -27,9 +27,6 @@ #include "mpd_types.h" #include "outputBuffer.h" -/* pick 1020 since its devisible for 8,16,24, and 32-bit audio */ -#define CHUNK_SIZE 1020 - extern unsigned int buffered_before_play; extern unsigned int buffered_chunks; |