diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-04-12 04:08:12 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-04-12 04:08:12 +0000 |
commit | 45ebb851f4d0bd136b7c246a6a1b71561a6e5800 (patch) | |
tree | 5200c82fbe3489507fe84cbf2b11645dc4a1ad1b /src/outputBuffer.h | |
parent | 9cf66d0e8a7875026d7009d5df331fabf614ac55 (diff) | |
download | mpd-45ebb851f4d0bd136b7c246a6a1b71561a6e5800.tar.gz mpd-45ebb851f4d0bd136b7c246a6a1b71561a6e5800.tar.xz mpd-45ebb851f4d0bd136b7c246a6a1b71561a6e5800.zip |
Drop metadata updates from HTTP for now (input HTTP, and shout)
It is way more complicated than it should be; and
locking it for thread-safety is too difficult.
[merged r7183 from branches/ew]
git-svn-id: https://svn.musicpd.org/mpd/trunk@7241 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/outputBuffer.h')
-rw-r--r-- | src/outputBuffer.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/outputBuffer.h b/src/outputBuffer.h index 563c1904b..6ab171879 100644 --- a/src/outputBuffer.h +++ b/src/outputBuffer.h @@ -24,14 +24,11 @@ #include "decode.h" #include "audio.h" #include "inputStream.h" -#include "metadataChunk.h" #include "replayGain.h" #define OUTPUT_BUFFER_DC_STOP -1 #define OUTPUT_BUFFER_DC_SEEK -2 -#define BUFFERED_METACHUNKS 25 - typedef struct _OutputBuffer { char *volatile chunks; mpd_uint16 *volatile chunkSize; @@ -41,10 +38,6 @@ typedef struct _OutputBuffer { mpd_uint16 volatile end; AudioFormat audioFormat; ConvState convState; - MetadataChunk metadataChunks[BUFFERED_METACHUNKS]; - mpd_sint8 metaChunkSet[BUFFERED_METACHUNKS]; - mpd_sint8 *volatile metaChunk; - volatile mpd_sint8 acceptMetadata; } OutputBuffer; void initOutputBuffer(OutputBuffer * cb, char *chunks); @@ -64,8 +57,4 @@ int sendDataToOutputBuffer(OutputBuffer * cb, float time, mpd_uint16 bitRate, ReplayGainInfo * replayGainInfo); -int copyMpdTagToOutputBuffer(OutputBuffer * cb, MpdTag * tag); - -void clearAllMetaChunkSets(OutputBuffer * cb); - #endif |