- 01 Dec, 2013 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 30 Nov, 2013 5 commits
-
-
Max Kellermann authored
The PcmResampler interface is implemented by the two classes FallbackPcmResampler and LibsampleratePcmResampler. This prepares for adding more resampler libraries.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Don't use src_format. In the middle of Convert(), the current AudioFormat has already been modified, it's now something in between src_format and dest_format. This simplifies keeping track of what remains to be done.
-
- 29 Nov, 2013 9 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Wrapper for pcm_resample_global_init(), just in case other PCM libraries need initialization, too.
-
Denis Krjuchkov authored
-
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 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-