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/player.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/player.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/player.h b/src/player.h index 605a25a80..c819a90c6 100644 --- a/src/player.h +++ b/src/player.h @@ -64,9 +64,8 @@ typedef struct _PlayerControl { volatile float totalTime; volatile float elapsedTime; volatile float fileTime; - char utf8url[MPD_PATH_MAX]; - char currentUrl[MPD_PATH_MAX]; - char erroredUrl[MPD_PATH_MAX]; + Song *current_song; + Song *errored_song; volatile mpd_sint8 queueState; volatile mpd_sint8 queueLockState; volatile mpd_sint8 lockQueue; |