diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-04-12 04:08:29 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-04-12 04:08:29 +0000 |
commit | efa464235613c6f3bfd40179d3676dd913feeafe (patch) | |
tree | dd1399ff950fff7be918a0487da95896c2819868 /src/decode.h | |
parent | b3230404892539192be974e632c63a5d5548f735 (diff) | |
download | mpd-efa464235613c6f3bfd40179d3676dd913feeafe.tar.gz mpd-efa464235613c6f3bfd40179d3676dd913feeafe.tar.xz mpd-efa464235613c6f3bfd40179d3676dd913feeafe.zip |
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
Diffstat (limited to '')
-rw-r--r-- | src/decode.h | 3 |
1 files changed, 2 insertions, 1 deletions
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; |