From b29f73c819ff8445b71963d883364e315b7a12d8 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Sun, 6 Jun 2004 19:41:03 +0000 Subject: mechanism for updating metadata while decoding vorbis comments are updated on the fly for streams need to decode icy metadata buffering of metadata needs to be hardened, to ensure that player has already read a particular metachunk or passed over it git-svn-id: https://svn.musicpd.org/mpd/trunk@1358 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/player.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/player.h') diff --git a/src/player.h b/src/player.h index 5e8d90e97..6453bd372 100644 --- a/src/player.h +++ b/src/player.h @@ -24,6 +24,7 @@ #include "decode.h" #include "mpd_types.h" #include "song.h" +#include "metadataChunk.h" #include #include @@ -84,11 +85,7 @@ typedef struct _PlayerControl { volatile int decode_pid; volatile mpd_sint8 cycleLogFiles; volatile mpd_sint8 metadataState; - char metadata[DECODE_METADATA_LENGTH]; - volatile mpd_sint16 name; - volatile mpd_sint16 title; - volatile mpd_sint16 artist; - volatile mpd_sint16 album; + MetadataChunk metadataChunk; } PlayerControl; void clearPlayerPid(); -- cgit v1.2.3