- 12 May, 2018 1 commit
-
-
Max Kellermann authored
This mostly affects the Pulse output plugin which needs to "cork" the stream (closes #278).
-
- 07 May, 2018 2 commits
-
-
Michal Koutenský authored
-
Max Kellermann authored
Closes #277
-
- 03 May, 2018 1 commit
-
-
Max Kellermann authored
These are used by DSD-streaming servers. For example, MiniDLNA uses "audio/x-dsd".
-
- 30 Apr, 2018 2 commits
-
-
Max Kellermann authored
Error message sent to client was "basic_string::_M_construct null not valid" due to passing nullptr to the std::string constructor. Regression caused by commit 386688b8
-
Max Kellermann authored
-
- 26 Apr, 2018 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Closes #258
-
Max Kellermann authored
Fixes "search already in progress" errors.
-
- 25 Apr, 2018 2 commits
-
-
Max Kellermann authored
av_register_all() was deprecated in FFmpeg/FFmpeg@0694d8702421e7aff1340038559c438b61bb30dd
-
Max Kellermann authored
When switching to another song manually, the player checks if the decoder is already decoding that song; if so, it will attempt to reuse it by seeking it to the new position. That however fails if the decoder is not seekable (e.g. a radio stream) which leaves the user unable to switch to that song with the bogus error message "Not seekable".
-
- 15 Mar, 2018 1 commit
-
-
Max Kellermann authored
Fixes crash due to "pure virtual method called" in the "mms" input plugin. Closes #253
-
- 14 Mar, 2018 1 commit
-
-
Max Kellermann authored
Without setting the "ready" flag, the caller will wait in WaitReady() forever, locking up MPD. Closes #252
-
- 04 Mar, 2018 3 commits
-
-
Max Kellermann authored
Instead of stopping playback (due to seek time overflow), reject the seek command. Closes #240 Relative negative values (with "seekcur") are still allowed, and MPD will fix the resulting position if it turns out to be negative. But the "seek" and "seekid" commands use an unsigned time stamp which must not be negative.
-
Christian Kröner authored
With Grand Central Dispatch used in Main.cxx, debug builds on macOS crash as the IsInside() assertion gets triggered in the event loop. As a simple fix, usage of GCD is removed. Plugging and unplugging headphones or changes of the default output device was tested without issues. Whatever the original commit tried to fix by GCD probably does not need fixing anymore.
-
Max Kellermann authored
-
- 24 Feb, 2018 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Now that all build failures have been fixed, we can enable the feature.
-
tpoeiras authored
-
- 20 Feb, 2018 1 commit
-
-
Max Kellermann authored
Enable the NFS storage plugin on Android. Closes #226
-
- 17 Feb, 2018 3 commits
-
-
Max Kellermann authored
This addresses two problems: 1. the libFLAC write callback had to send an error status to its caller when SubmitData() returned a command; this disrupted libFLAC and the resulting command could not be used for anything; 2. the libFLAC function FLAC__stream_decoder_seek_absolute() also calls the write callback, but its result cannot be used, because seeking is still in progress, so we lose all data from one FLAC frame. By moving the SubmitData() call until after CommandFinished(), we avoid losing this data. This fixes another part of #113
-
Max Kellermann authored
Instead of passing whole chunks to the MusicPipe and checking the end_time after each chunk, truncate the last chunk if it would exceed the end_time. This requires keeping track of the absolute PCM frame number. This fixes a problem with gapless CUE song transitions: a small part of the following song was always played twice. Closes #113
-
Max Kellermann authored
-
- 11 Feb, 2018 1 commit
-
-
Max Kellermann authored
-
- 10 Feb, 2018 1 commit
-
-
Max Kellermann authored
Due to rounding errors, a slightly negative value can be passed to set_normalized_volume(), which will make the log10() call fail. Actually, volume 0 is already failing because log10(0) is illegal. So let's fix this by implementing two corner cases: <=0 and >=100. Closes #212
-
- 09 Feb, 2018 4 commits
-
-
Max Kellermann authored
Closes #213.
-
Max Kellermann authored
This was a buffer overflow bug which could cause MPD crahes when playing back 8 channels with the ALSA output plugin. Closes #216
-
Max Kellermann authored
There is a POSIX definition for sched_setscheduler(), but Linux does not implement that; instead of changing the process's scheduler, it only affects one thread. This has caused some confusion among application developers and C library developers. While glibc implements Linux semantics, Musl has made their sched_setscheduler() function an always-failing no-op, causing the error message "sched_setscheduler failed: Function not implemented". http://git.musl-libc.org/cgit/musl/commit/src/sched/sched_setscheduler.c?id=1e21e78bf7a5c24c217446d8760be7b7188711c2 Instead of relying on the C library which may be unreliable here, we now roll our own system call wrapper. Closes #218
-
Max Kellermann authored
-
- 03 Feb, 2018 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Closes #173
-
- 31 Jan, 2018 1 commit
-
-
Max Kellermann authored
-
- 30 Jan, 2018 1 commit
-
-
Max Kellermann authored
The PulseOutput needs to be "enabled" before WaitConnection() may be called. Closes #207
-
- 19 Jan, 2018 1 commit
-
-
Max Kellermann authored
Fixes search within mount points, resulting in error "No such directory". Closes #190
-
- 08 Jan, 2018 1 commit
-
-
Max Kellermann authored
This attribute shall be used only for IsInside() to make this safe against a race condition described in #188: > There is no requirement on the implementation that the ID of the > created thread be available before the newly created thread starts > executing. http://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_create.html): This means that on some pthread implementations (e.g. Haiku), the assert(thread.IsInside()) could fail. Closes #188
-
- 06 Jan, 2018 1 commit
-
-
Max Kellermann authored
-
- 05 Jan, 2018 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
This completes the bug fix commit 2065e329; if we clear "queued" then we must clear "queued_song" as well, or another variant of the assertion fails.
-
- 04 Jan, 2018 2 commits
-
-
Max Kellermann authored
-
Felix Hädicke authored
In current Android SDK releases, Ant support was removed. Move the necessary build steps from the former Ant build system to our Makefile, and call the required build tools from the Android SDK (aapt and dx), Java SDK (javac) and Info-ZIP (zip) directly. [mk: copied from Felix's commit e52b906dba971a1173f9e8f83d32b52ee9f89af3 in the XCSoar project)
-