aboutsummaryrefslogtreecommitdiffstats
path: root/src/DetachedSong.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Copyright year 2015Max Kellermann2015-01-011-1/+1
|
* Tag: use SignedSongTime for the song durationMax Kellermann2014-08-291-4/+9
|
* db/LightSong: use std::chrono::duration for start_ms and end_msMax Kellermann2014-08-281-2/+2
|
* DetachedSong: use std::chrono::duration for start_ms and end_msMax Kellermann2014-08-281-5/+6
|
* db/LightSong: make "real_uri" a pointerMax Kellermann2014-02-041-1/+1
| | | | | Reduce overhead. LightSong can always point to the "real" allocated string.
* Database*: move to db/Max Kellermann2014-01-241-1/+1
|
* DetachedSong: un-inline the destructorMax Kellermann2014-01-231-0/+5
| | | | Reduce bloat.
* LightSong: add attribute "real_uri"Max Kellermann2014-01-211-0/+1
| | | | | The UPnP database plugin can now show relative song URIs for remote songs.
* DetachedSong: add attribute "real_uri"Max Kellermann2014-01-211-2/+12
| | | | Prepare for UPnP songs that retain there database identity.
* LightSong: new class to be used by DatabasePlugin callbacksMax Kellermann2014-01-191-3/+3
| | | | | Detach the Song class completely from the public API, only to be used by SimpleDatabase and the update thread.
* Song: embed the Tag object statically into class SongMax Kellermann2014-01-191-1/+1
| | | | | Reduces overhead because we need to manage only one memory allocation. According to valgrind/massif, we save 7%.
* DetachedSong: fork of struct SongMax Kellermann2014-01-091-0/+51
From now on, struct Song will be used by the database only, and DetachedSong will be used by everybody else. DetachedSong is easier to use, but Song has lower overhead.