some documentation about OutputBuffer
git-svn-id: https://svn.musicpd.org/mpd/trunk@7245 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
efa4642356
commit
d3f72d1023
@ -29,13 +29,22 @@
|
||||
#define OUTPUT_BUFFER_DC_STOP -1
|
||||
#define OUTPUT_BUFFER_DC_SEEK -2
|
||||
|
||||
/**
|
||||
* A ring set of buffers where the decoder appends data after the end,
|
||||
* and the player consumes data from the beginning.
|
||||
*/
|
||||
typedef struct _OutputBuffer {
|
||||
char *volatile chunks;
|
||||
mpd_uint16 *volatile chunkSize;
|
||||
mpd_uint16 *volatile bitRate;
|
||||
float *volatile times;
|
||||
|
||||
/** the index of the first decoded chunk */
|
||||
mpd_uint16 volatile begin;
|
||||
|
||||
/** the index after the last decoded chunk */
|
||||
mpd_uint16 volatile end;
|
||||
|
||||
AudioFormat audioFormat;
|
||||
ConvState convState;
|
||||
} OutputBuffer;
|
||||
|
Loading…
Reference in New Issue
Block a user