Commit Graph

13643 Commits

Author SHA1 Message Date
Max Kellermann 4b8ee58638 doc/user.rst: more markup 2018-10-31 15:34:33 +01:00
Max Kellermann 9305730993 doc/user.rst: use arm64 instead of armv7 in the example
All new hardware is arm64 anyway.
2018-10-31 15:26:24 +01:00
Max Kellermann 16bc97e9e5 doc/user.rst: add warning about outdated Debian packages 2018-10-31 15:22:35 +01:00
Max Kellermann 482c18982e doc/user.rst: use "apt" instead of the old "apt-get" 2018-10-31 15:17:22 +01:00
Max Kellermann 06ca08ce55 output/roar: remove
Bugs in libroar which broke the MPD build have been annoying me for
quite some time, and the newest bug has now hit my main build machine:

 https://github.com/MusicPlayerDaemon/MPD/issues/377

Problem is the usage of the typedef `_IO_off64_t` in libroar's
`vio_stdio.h`:

 int roar_vio_to_stdio_lseek (void *__cookie, _IO_off64_t *__pos, int __w);

This `_IO_off64_t` is an internal implementation detail of glibc and
was removed in version 2.28.  Nobody must ever use it.  Why the ****
did the RoarAudio developers use it?  Not using internal typedefs
isn't exactly rocket science.

This annoys me enough to finally remove the plugin.  Anyway, I've
never heard of anybody using RoarAudio, so my best guess is that
nobody will notice.
2018-10-31 15:03:28 +01:00
Max Kellermann 9fc00a817b Listen: use fs/XDG.hxx
This keeps one central place for the XDG switch.  Specifically, this
disables the XDG listener on Apple, where XDG is not supported.
2018-10-31 14:30:34 +01:00
Max Kellermann f47696f5f8 fs/StandardDirectory: move USE_XDG to XDG.hxx 2018-10-31 13:39:20 +01:00
Max Kellermann 190006e9dc doc/plugins.rst: add missing :file: 2018-10-31 13:25:44 +01:00
Max Kellermann 30eaae10c1 doc/developer.rst: remove :option: markup 2018-10-31 13:24:52 +01:00
Max Kellermann b878111404 doc/user.rst: more markup 2018-10-31 13:22:25 +01:00
Florian Schlichting db21d7de0b fix compilation errors on Debian GNU/Hurd
Apparently on hurd-i386 __GLIBC__ is defined, but the pthread
implementation is special and cannot be used with constexpr. Hence
exclude __gnu_hurd__.
2018-10-31 12:24:34 +01:00
Max Kellermann 8454083efa doc/protocol.rst: "oneshot" was added to 0.21, not 0.20 2018-10-31 12:00:01 +01:00
Cotko a0e5729117 doc/protocol.rst: footnote for oneshot arg 2018-10-31 03:16:05 +01:00
Cotko 534853cd32 doc/protocol.rst: add oneshot to the single command arguments 2018-10-31 03:12:35 +01:00
Max Kellermann fb0ead1788 doc/meson.build: add missing dependency 2018-10-30 22:51:09 +01:00
Max Kellermann 32013ad4a6 doc/user.rst: remove invalid :option: tags 2018-10-30 22:34:59 +01:00
Max Kellermann 7352d6a38d doc/user.rst: improve plugin reference links 2018-10-30 22:33:52 +01:00
Max Kellermann f649ec1fd8 doc/user.rst: move plugin reference to plugins.rst 2018-10-30 22:27:42 +01:00
Max Kellermann 56112a237c Listen: listen on $XDG_RUNTIME_DIR/mpd/socket by default 2018-10-30 22:14:54 +01:00
Max Kellermann 64da9399ca event/ServerSocket: allow mixing AddFD() with other Add*() methods 2018-10-30 22:14:53 +01:00
Max Kellermann dd8e14e121 doc/conf.py: use the "classic" theme 2018-10-30 22:13:15 +01:00
Max Kellermann 09e2202cd6 doc/user.rst: remove redundant tags list, link to protocol documentation 2018-10-30 22:08:31 +01:00
Max Kellermann fe7e1ae8aa doc/*.rst: revise captions and section types 2018-10-30 21:50:37 +01:00
Max Kellermann aa07e8a8fe doc/user.rst: add links to "Listeners" 2018-10-30 21:33:22 +01:00
Max Kellermann 83d598bdfd doc/user.rst: add bind_to_address/port examples 2018-10-30 21:33:10 +01:00
Max Kellermann 0ec31b4aa4 Listen: eliminate listen_add_config_param() 2018-10-30 21:14:39 +01:00
Max Kellermann a943f4063c event/ServerSocket: add AddFD() overload with AllocatedSocketAddress&& 2018-10-30 20:44:56 +01:00
Max Kellermann ce9f09c69a event/ServerSocket: make AddAddress() a template 2018-10-30 20:43:52 +01:00
Max Kellermann 3ddc7a5353 event/ServerSocket: include cleanup 2018-10-30 20:19:07 +01:00
Max Kellermann e575392b94 event/ServerSocket: use class IPv6Address 2018-10-30 20:19:04 +01:00
Max Kellermann c6f61a699c event/ServerSocket: make OneServerSocket an inner class 2018-10-30 20:16:26 +01:00
Max Kellermann 0307b49f43 event/ServerSocket: make OnAccept() noexcept 2018-10-30 20:13:07 +01:00
Max Kellermann 413ab80295 event/ServerSocket: use C++11 initializer 2018-10-30 20:11:58 +01:00
Max Kellermann daffefdb10 event/ServerSocket: pass UniqueSocketDescriptor to AddFD() 2018-10-30 20:05:57 +01:00
Max Kellermann 5fb21fbdb1 event/ServerSocket: add `noexcept` 2018-10-30 19:57:39 +01:00
Max Kellermann f5857c4689 net/SocketUtil: update API documentation 2018-10-30 19:56:10 +01:00
Max Kellermann 2c388434dd meson.build: re-add -funwind-tables which got lost in v0.20.23 merge 2018-10-30 13:33:10 +01:00
Max Kellermann c97469283c pcm: build dsd2pcm only if -Dtest=true 2018-10-30 13:31:43 +01:00
Max Kellermann 1f8d707082 python/build/meson.py: use toolchain.libs (for libc++) 2018-10-30 13:29:02 +01:00
Max Kellermann 9b1f44e758 LogInit: work around two Android compiler warnings 2018-10-30 13:23:10 +01:00
Max Kellermann 804ccddf7e pcm/Clamp: convert to `constexpr` 2018-10-30 00:08:25 +01:00
Max Kellermann bb5918932b pcm/PcmUtils: rename to Clamp.hxx 2018-10-30 00:05:58 +01:00
Max Kellermann aa77bc323f pcm/FloatConvert: make IntegerToFloatSampleConvert::Convert() constexpr 2018-10-29 23:52:25 +01:00
Max Kellermann 901229699e release v0.20.23
-----BEGIN PGP SIGNATURE-----
 
 iQJEBAABCgAuFiEEA5IzWngIOJSkMBxDI26KWMbbRRIFAlvXjC0QHG1heEBtdXNp
 Y3BkLm9yZwAKCRAjbopYxttFEtCPD/sF4XSIfAOGeosHvCxJGJbia630TXIcgiGa
 5Idku72YHrCrpHtK4Wn9AxWHkVHn3hTTma7fziwtOiXgyrPR/2P5WqcdaGqGgGX0
 dUQkjDh5iBakTLpr1k7RapA7UaZU47Qp++V+6iU42SFjYXO/f1NYD0ltAWwygWm9
 qzFrTAaKmOqi3h+Cv0ZlwVrOEWdjkoqQ+9REvaivUljMRIFNLn197Y+cCDlrlPXX
 4v0LgYQ6dm4f62K9nqKvAe1ERKL6QO4uz4pSM5zd98+CE34Th/f0liN2SbvNF/xw
 rJY0G1kL1Jrmst5UBldcCCVqV1UGJ3wVejRDHZykazuaM5weHRtSR7tcbfVaZIyW
 3w3EyM7D2O7m2AqWSDpBsY1w97NxIlFm2JizE3FvCcf4hhvuNgKuXxS8NBS/zttv
 o4igWOZUw76VzhcR8hnlDduKdz+Ht/MuT3ziSPuBQlj0coJYmHkqziO6+sI+bXve
 1bzX/KNEd9DiN+kxR34U9fRKOCtUGfCZwvGRqiQcIEm/Uo/UrszAM2sXK6bQoPj2
 1ZEXJuvFJr3rLe4rsTZn7g12yIqwuSA+0xeMpR0NQvUFnsI4aWokgvo1MVWp934q
 D0yrGMuRJyTB5mq6jS119ZX+ReCqI5H2IPZ7hkHK6Sia0jFE+ySjNFTqpkaMo1mB
 4EfBNZPctg==
 =m57f
 -----END PGP SIGNATURE-----

Merge tag 'v0.20.23'

release v0.20.23
2018-10-29 23:44:47 +01:00
Max Kellermann 637c96697f release v0.20.23 2018-10-29 23:31:17 +01:00
Max Kellermann c92f0a1336 test/PcmFormat: add Float/32 bit test 2018-10-29 23:06:40 +01:00
Max Kellermann 8463441afe test/PcmFormat: rename FormatFloat to FormatFloat16 2018-10-29 23:06:37 +01:00
Max Kellermann 9b6a2589e5 Merge branch 'v0.20.x' 2018-10-29 23:06:32 +01:00
Max Kellermann cc5fab28af pcm/FloatConvert: fix compile-time integer overflow for S32
The compile-time calculation for `factor` overflows because `1<<31`
cannot be represented by `int`.  By casting to `uintmax_t` first, we
can avoid this overflow.

Closes #380
2018-10-29 22:50:54 +01:00
Max Kellermann a3f7127e72 pcm/FloatConvert: use FloatToIntegerSampleConvert::factor for IntegerToFloatSampleConvert::factor 2018-10-29 22:50:06 +01:00