- 02 Jan, 2018 4 commits
-
-
Max Kellermann authored
Fixes crash bug caused by commit 64d141f7
-
Max Kellermann authored
Caused by commit 64d141f7 This wasn't a serious memory leak, because after a mount failure, MPD would abort anyway, which is subject to the next commit.
-
Max Kellermann authored
This source file isn't compiled when the database is disabled.
-
Max Kellermann authored
-
- 01 Jan, 2018 2 commits
-
-
Max Kellermann authored
-
loujine authored
-
- 26 Dec, 2017 1 commit
-
-
Max Kellermann authored
-
- 23 Dec, 2017 1 commit
-
-
Max Kellermann authored
-
- 22 Dec, 2017 2 commits
-
-
Max Kellermann authored
Similar to commit 31ab78ae
-
Max Kellermann authored
Fixes deadlock because FileInputStream::Read() unlocks the mutex (which was not locked) and then locks it, keeping it locked. This can result in a deadlock. This happens because the archive and the file mutex are different.
-
- 21 Dec, 2017 6 commits
-
-
Max Kellermann authored
-
Ilya ilyxa Tyshchenko authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
If a directory is a mount point, omit the "directory: " as well. This bug is years old, but has become more visible now that mount points are persistent in the state file.
-
Max Kellermann authored
-
- 18 Dec, 2017 4 commits
-
-
Max Kellermann authored
-
FlashSystems authored
Signed-off-by: FlashSystems <developer@flashsystems.de>
-
FlashSystems authored
If `SimpleDatabase::Visit` is called on a database that contains a mounted directry the URIs of the elements passed to the callbacks are not prefixed by the mountpoint path. This leads to lsinfo and add not working because they use the wrong URI. This pull request is using the `WalkMount` helper function to create prefixed versions of `VisitDirectory`, `VisitSong` and `VisitPlaylist` to add the correct prefix to the parameters of the callback functions.
-
Stefano Miccoli authored
This alleviates a problem in which 'volume +1' cannot be undo by 'volume -1' when using alsa hw mixer. Closes #104
-
- 12 Dec, 2017 7 commits
-
-
Yue Wang authored
[mk: the following text was copied from https://github.com/MusicPlayerDaemon/MPD/pull/167] For certain format (hi-res files) and normal buffer size hardware, The hardware may at once consume most of the buffers. However, in Delay() function, MPD is supposed to wait for 25 ms after the next try. it will create a hiccup. The negative impact is much major than increasing the latency. I understand larger buffers come at a price. That's why in my earlier commit last year I significantly reduced it. However, the buffer size in CoreAudio is set according to the hardware, which is super small latency. For instance, the system audio of 2015 generation of macbook pro has maximum buffer size of 4096 samples, which is just 0.09s for 44.1k framerate, or 0.04s for 96k frames --- . compare to the 0.5 sec latency alsa plugin has, even if we quadruple it, it's still super tiny.
-
Max Kellermann authored
Only _WIN32 is defined by the compiler, and WIN32 is not standardized and may be missing. Closes #169
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 11 Dec, 2017 2 commits
-
-
Max Kellermann authored
-
Uwe Kleine-König authored
If libupnp is installed in a non-standard location we must rely on the include path provided by $(pkg-config --cflags libupnp). Relative to the path given from that command no prefix must be used to find the respective files.
-
- 05 Dec, 2017 1 commit
-
-
Max Kellermann authored
-
- 03 Dec, 2017 4 commits
-
-
FlashSystems authored
assignment of `mnt->mounted_database` in `SimpleDatabase::Mount`.
-
Max Kellermann authored
This fixes spurious replay gain logs when the player inserts silence chunks, because those silence chunks had no replay gain attached, resetting the ReplayGainFilter state, flipping it forth and back.
-
Max Kellermann authored
-
Max Kellermann authored
This attribute is not particularly important, but it was uninitialized.
-
- 02 Dec, 2017 3 commits
-
-
Max Kellermann authored
Fixes #165.
-
Max Kellermann authored
When starting playback with a specific song which does not have the highest priority, the previous highest priority song was skipped completely because its order was "swapped". This commit changes to a more expensive operation which inserts the selected song into the order list. This fixes a small part of #165
-
Max Kellermann authored
libupnp 1.6.24 added a few badly designed macros which break the MPD build: https://sourceforge.net/p/pupnp/code/ci/8177a4195a4d4a5d6cb095eaf4ca5b65ac446381/ To work around this, we disable our emulation functions (from 714011c8) on this libupnp version. Closes #163
-
- 27 Nov, 2017 2 commits
-
-
FlashSystems authored
Signed-off-by: FlashSystems <developer@flashsystems.de>
-
Max Kellermann authored
-
- 25 Nov, 2017 1 commit
-
-
Max Kellermann authored
-