- 29 Nov, 2013 3 commits
-
-
Denis Krjuchkov authored
All parameters seem mandatory, otherwise this call makes MPD crash.
-
Denis Krjuchkov authored
-
Denis Krjuchkov authored
Rename HAVE_WINDOWS to host_is_windows for consistency. Use 'yes' as true value instead of '1' for this variable. Use test on this variable instead of case where applicable.
-
- 28 Nov, 2013 5 commits
-
-
Max Kellermann authored
Remove compatibility code.
-
Max Kellermann authored
Replaces GLib's g_str_has_prefix().
-
Max Kellermann authored
Method PcmConvert::Convert() modifies the src_format variable. This used to be a parameter, however commit d2679f59 made it an attribute instead. The modification to src_format persisted, and the next call would return garbage.
-
Denis Krjuchkov authored
-
Max Kellermann authored
-
- 27 Nov, 2013 1 commit
-
-
Denis Krjuchkov authored
This change adds two configuration options: --with-eventloop=[glib|internal|auto] --with-pollmethod=[epoll|auto] First allows switching between GLib event loop and internal one. Second chooses backend to use for internal event loop. Conditional compilation symbols are changed accordingly. Additional helper macro MPD_OPTIONAL_FUNC_NODEF is added as well.
-
- 26 Nov, 2013 3 commits
-
-
Denis Krjuchkov authored
-
Denis Krjuchkov authored
Otherwise sockets can't be created during IO thread initialization.
-
Denis Krjuchkov authored
-
- 25 Nov, 2013 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Hard-code the program name to "mpd" instead of using g_get_prgname(). The latter has become useless since this GLib variable doesn't get initialized anymore.
-
- 24 Nov, 2013 9 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
This variable is initialized once on startup. It will never change.
-
Max Kellermann authored
Reduce GLib usage.
-
Max Kellermann authored
Don't use GTimer if the operating system is able to tell us the uptime.
-
Max Kellermann authored
-
Max Kellermann authored
-
Denis Krjuchkov authored
This implementation behaves mostly identical to old parser. Few observable differences: - There are no option groups (single group is used for all options) - Option --stdout is hidden (it has been obsolete for a long time) - MPD executable name (mpd) is hardcoded for simplicity
-
- 23 Nov, 2013 8 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 22 Nov, 2013 4 commits
-
-
Max Kellermann authored
Using pcm_resample_lsr_32() for 24 bit samples works, but may cause 24 bit overflows. This commit makes 24 bit a special case with explicit clipping.
-
Max Kellermann authored
-
Max Kellermann authored
-
Javier Domingo Cansino authored
-
- 21 Nov, 2013 5 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Refactor SimpleDatabase::GetLastModified() to be generic for all plugins. Remove the SimpleDatabase assumption from db_stats_print(), allowing it to be implemented by all database plugins.
-
Max Kellermann authored
Fixes crash on "stats" in certain configurations.
-
Max Kellermann authored
-
Max Kellermann authored
-