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
This commit is contained in:
committed by
Eric Wong
parent
7a6c31ae06
commit
68a625b5b8
@@ -29,6 +29,9 @@
|
|||||||
#define OUTPUT_BUFFER_DC_STOP -1
|
#define OUTPUT_BUFFER_DC_STOP -1
|
||||||
#define OUTPUT_BUFFER_DC_SEEK -2
|
#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,
|
* A ring set of buffers where the decoder appends data after the end,
|
||||||
* and the player consumes data from the beginning.
|
* and the player consumes data from the beginning.
|
||||||
|
|||||||
@@ -27,9 +27,6 @@
|
|||||||
#include "mpd_types.h"
|
#include "mpd_types.h"
|
||||||
#include "outputBuffer.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_before_play;
|
||||||
extern unsigned int buffered_chunks;
|
extern unsigned int buffered_chunks;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user