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/playerData.c | |
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 '')
-rw-r--r-- | src/playerData.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/playerData.c b/src/playerData.c index 31a3bbd94..43852a4c6 100644 --- a/src/playerData.c +++ b/src/playerData.c @@ -78,7 +78,6 @@ void initPlayerData(void) allocationSize += buffered_chunks * sizeof(float); /*for times */ allocationSize += buffered_chunks * sizeof(mpd_sint16); /*for chunkSize */ allocationSize += buffered_chunks * sizeof(mpd_sint16); /*for bitRate */ - allocationSize += buffered_chunks * sizeof(mpd_sint8); /*for metaChunk */ allocationSize += sizeof(PlayerData); /*for playerData struct */ /* for audioDeviceStates[] */ @@ -114,8 +113,6 @@ void initPlayerData(void) playerData_pd->playerControl.crossFade = crossfade; playerData_pd->playerControl.softwareVolume = 1000; playerData_pd->playerControl.totalPlayTime = 0; - playerData_pd->playerControl.metadataState = - PLAYER_METADATA_STATE_WRITE; playerData_pd->decoderControl.stop = 0; playerData_pd->decoderControl.start = 0; |