diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-06-06 19:41:03 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-06-06 19:41:03 +0000 |
commit | b29f73c819ff8445b71963d883364e315b7a12d8 (patch) | |
tree | 772690e7472972ea3e78bb7b354ff4b903a8e4f3 /src/player.h | |
parent | 4e53282469de4fea4b8daaec67298bd3394f34bd (diff) | |
download | mpd-b29f73c819ff8445b71963d883364e315b7a12d8.tar.gz mpd-b29f73c819ff8445b71963d883364e315b7a12d8.tar.xz mpd-b29f73c819ff8445b71963d883364e315b7a12d8.zip |
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
Diffstat (limited to '')
-rw-r--r-- | src/player.h | 7 |
1 files changed, 2 insertions, 5 deletions
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 <stdio.h> #include <sys/param.h> @@ -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(); |