From efa464235613c6f3bfd40179d3676dd913feeafe Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 12 Apr 2008 04:08:29 +0000 Subject: Start using song pointers in core data structures Instead of copying URLs everywhere... [merged r7186 from branches/ew] git-svn-id: https://svn.musicpd.org/mpd/trunk@7244 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/decode.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/decode.h') diff --git a/src/decode.h b/src/decode.h index 1d90dced4..704caf990 100644 --- a/src/decode.h +++ b/src/decode.h @@ -22,6 +22,7 @@ #include "../config.h" #include "path.h" #include "tag.h" +#include "song.h" #include "mpd_types.h" #include "audio.h" @@ -49,7 +50,7 @@ typedef struct _DecoderControl { volatile mpd_sint8 seekable; volatile double seekWhere; AudioFormat audioFormat; - char utf8url[MPD_PATH_MAX]; + Song *current_song; volatile float totalTime; } DecoderControl; -- cgit v1.2.3