summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-03-08system/ByteOrder: move to util/Max Kellermann
2019-03-07decooder/plugins/PcmDecoderPlugin: add missing config for preproceesor macro ↵borine
definitions
2019-03-07decoder/plugins/PcmDecoderPlugin: guard alsa specific code with ↵borine
pre-processor macro test
2019-03-06input/plugins/AlsaInputPlugin: change default device to default and default ↵borine
format to 48000:16:2 using the device "default" brings this plugin into line with the AlsaOutputPlugin; and a sample rate of 48kHz is more widely used as a native default for modern hardware than 44.1kHz Also fixes an inconsistency between the docs and code.
2019-03-06input/plugins/AlsaInputPlugin: introduce mpd.conf config block to allow user ↵borine
to override the builtin defaults
2019-03-06input/plugins/AlsaInputPlugin: extend the alsa uri parsing to permit ↵borine
specification of the desired pcm audio format in the uri
2019-03-06decoder/plugins/PcmDecoderPlugin: introduce new internal mime type ↵borine
"audio/x-mpd-alsa-pcm" This mime type is to enable the AlsaInputPlugin to communicate the pcm stream audio format to the decoder
2019-02-27system/UniqueFileDescriptor: add CreatePipeNonBlock()Max Kellermann
2019-02-27net/StaticSocketAddress: remove GetAddress()Max Kellermann
2019-02-27net/StaticSocketAddress: add GetLocalRaw()Max Kellermann
2019-02-27net/SocketDescriptor: add SetTcpUserTimeout()Max Kellermann
2019-02-27Merge branch 'feature/playlist' of git://github.com/miccoli/MPDMax Kellermann
2019-02-26allow loading playlists specified as absolute filesystem pathsStefano Miccoli
implement for the "load" command the same logic used for the "add" command: local clients can load playlist specified as absolute paths. For relative paths the old logic is preserved: first look for a stored playlist, then look in the music directory.
2019-02-25event/ServerSocket, config/Net: abstract socket supportMax Kellermann
2019-02-23Ensure SEEK_SET is set on systems where stdio.h is not pulled in by accident.Thomas Zander
2019-02-22storage/udisks2: move empty string check out of the fallback block in MapUTF8()Max Kellermann
Even if the LocalStorage is available, return the "udisks://" URI when the MapUTF8() parameter is an empty string. This fixes the mount URI in the state file.
2019-02-22db/simple: call ReturnSong() on mounted databaseMax Kellermann
Fixes a memory leak, or an assertion failure in the debug build.
2019-02-22db/simple: use C++11 initializerMax Kellermann
2019-02-22storage/udisks2: use the relative pathMax Kellermann
Closes #487
2019-02-22storage/udisks2: pass Path to SetMountPoint()Max Kellermann
2019-02-22TagPrint: omit tags which were disabled by the clientMax Kellermann
Closes #471
2019-02-22tag/Mask: fix another typo, this time in `operator^=`Max Kellermann
Similar to commit ff1ff1e54a25ed80abdca9e7e63b36db150ec766
2019-02-21storage/udisks2: use existing mount point if already mountedMax Kellermann
Fixes the "org.freedesktop.UDisks2.Error.AlreadyMounted" error. Closes #485
2019-02-21storage/udisks2: move code to SetMountPoint()Max Kellermann
2019-02-21storage/udisks2: adjust lambda indentMax Kellermann
2019-02-21lib/dbus/udisks2: parse the MountPoints propertyMax Kellermann
2019-02-21lib/dbus/ReadIter: add dbus_message_iter_get_fixed_array() wrapperMax Kellermann
2019-02-20db/simple/Directory: close the Database in destructorMax Kellermann
Fixes assertion failure.
2019-02-20db/simple: reorder checks in assert() to fix assertion failureMax Kellermann
`light_song.Get()` could cause an assertion failure because the `Manual<>` object must not be used if uninitialized. Regression by commit ebc006ab529169d3d067231863ab7fc52fd9c49a
2019-02-20Main: create Database on stack, move to Instance after Open() succeededMax Kellermann
This fixes use-after-free bug in SimpleDatabase::Close(), accessing the `root` object which was already freed by the `catch` block in Open(). By having the Database on the stack first, we can avoid calling Close() on the failed-to-open Database from Instance's destructor. Closes #482
2019-02-20Instance: use std::unique_ptr<> to manage the Database pointerMax Kellermann
2019-02-20db/Plugin: use std::unique_ptr<> to manage Database pointersMax Kellermann
2019-02-20db/simple/Directory: add `noexcept`Max Kellermann
2019-02-20mixer/pulse: add missing ParseFloat() checkMax Kellermann
2019-02-20mixer/pulse: move `volume_scale_factor` up to improve struct packingMax Kellermann
2019-02-20mixer/pulse: add `const` to `volume_scale_factor`Max Kellermann
2019-02-20mixer/pulse: use C++11 initializerMax Kellermann
2019-02-20mixer/pulse: rename `scale` to `scale_volume`Max Kellermann
Make it less generic, to avoid clashes.
2019-02-17mixer/pulse: Add a new 'scale' parameter to allow volumes above 100Clément Pit-Claudel
Closes GH-479.
2019-02-19net/IPv[46]Address: update copyrightMax Kellermann
2019-02-19net/AllocatedSocketAddress: add methods IsV6Any(), IsV4Mapped()Max Kellermann
2019-02-19net/SocketAddress: add method GetLocalPath()Max Kellermann
2019-02-19net/AllocatedSocketAddress: add method GetLocalRaw()Max Kellermann
2019-02-19lib/cdio/Paranoia: add method GetDiscSectorRange()Max Kellermann
2019-02-19fs/io/OutputStream: update include guardMax Kellermann
2019-02-19fs/io/BufferedOutputStream: add WithBufferedOutputStream()Max Kellermann
2019-02-19system/UniqueFileDescriptor: import std::swapMax Kellermann
2019-02-19system/Open: add OpenWriteOnly(), OpenDirectory()Max Kellermann
2019-02-19system/EpollFD: include cleanupMax Kellermann
2019-02-19util/StringView: add SkipPrefix(), RemoveSuffix()Max Kellermann