- 19 Jan, 2014 6 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Detach the Song class completely from the public API, only to be used by SimpleDatabase and the update thread.
-
Max Kellermann authored
Check mpd_response_finish() before using mpd_song. Don't skip this check even if the mpd_song is non-nullptr.
-
Max Kellermann authored
Simpler to use than const_cast.
-
Max Kellermann authored
This saves another 3% memory.
-
Max Kellermann authored
Reduces overhead because we need to manage only one memory allocation. According to valgrind/massif, we save 7%.
-
- 18 Jan, 2014 33 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
The UPnPDirObject is a temporary object, we can move its contents. This reduces runtime overhead.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Reduce bloat.
-
Max Kellermann authored
Move code to method Start() and add Error& parameters to several methods.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Eliminate the std::string bloat.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Forward the Error to the caller.
-
Max Kellermann authored
Reduce bloat.
-
Max Kellermann authored
Pass "const char *" to Expat.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Reduce runtime bloat.
-
Max Kellermann authored
Reduce overhead by omitting the part of the buffer that consists only of whitespace.
-
Max Kellermann authored
Memory leak.
-
Max Kellermann authored
Bloat.
-
Max Kellermann authored
Must not perform blocking I/O while holding a mutex.
-
Max Kellermann authored
Remove the ContentDirectoryDescriptor right away. Reduces bloat.
-
Max Kellermann authored
-
Max Kellermann authored
Now that MPD forks early, this workaround is obsolete.
-
Max Kellermann authored
Keep the parent process around until MPD has finished initializing. This is important for libraries that are allergic to fork(), such as libupnp.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Prepare for more advanced daemonization code, which will not work with daemon(). Let's just require fork(). Everybody who supports daemon() also supports fork().
-
Max Kellermann authored
-
Max Kellermann authored
-
- 17 Jan, 2014 1 commit
-
-
Max Kellermann authored
Kludge to work around DSD playback failure because the ReplayGainFilterPlugin is always in the filter chain.
-