summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-11-30lib/dbus/Values: use `using` instead of `typedef`Max Kellermann
2020-11-30odbus/Types: use `using` instead of `typedef`Max Kellermann
2020-11-30time/ISO8601: support YYYY-MM (without day of month)Max Kellermann
2020-11-30time/Math: new libraryMax Kellermann
2020-11-30net/SocketAddress: add CastTo()Max Kellermann
2020-11-30net/IPv[46]Address: pass SocketAddress by value to Cast()Max Kellermann
2020-11-30net/IPv[46]Address: add Cast(const sockaddr_in&)Max Kellermann
2020-11-18util/MimeType: relicense to BSD-2Max Kellermann
2020-11-16Merge branch 'v0.22.x'Max Kellermann
2020-11-16filter/ffmpeg: detect the output sample formatMax Kellermann
Some FFmpeg filters change the sample format, and since MPD assumes this never happens, this results in loud noise instead of music. This commit finally implements the TODO comment by sending one frame of silence to the filter and checking the output frame's format. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1009
2020-11-15output/Control: allow copy elision (fix -Wpessimizing-move)Max Kellermann
2020-11-15Fixes #994 - moveoutput: new AudioOutputControl created from copyMoving an ↵Stapper
output to a partition is now done via MultipleOutputs::AddCopy(),using a new AudioOutputControl constructor. Tags and always_on settings willpersist when moving outputs between partitions.
2020-11-11Merge branch 'v0.22.x' into masterMax Kellermann
2020-11-11doc/plugins.rst: add missing list-table declarationMax Kellermann
2020-11-10Merge branch 'bind' of git://github.com/neheb/MPD into masterMax Kellermann
2020-11-10doc/mpd.1.rst: Update config file documentation.kaliko
Have similar information about config file in both mpd.1 ans mpd.conf.5
2020-11-10doc/mpd.conf.5.rst: Update mpd.conf manualkaliko
Update description with content from user manual [0]. Remove obsolete information regarding "required parameters" and log_level [0] https://www.musicpd.org/doc/html/user.html#the-configuration-file
2020-11-10doc/mpdconf.example: add database exempleskaliko
2020-11-10doc/mpdconf.example: add available log levelskaliko
2020-11-10doc/mpdconf.example: Strip trailing space, fixed typo.kaliko
2020-11-10decoder/dsdiff: apply padding to odd-sized chunksMax Kellermann
Closes https://github.com/MusicPlayerDaemon/MPD/issues/1001
2020-11-10doc/plugins.rst: add DSD spec linksMax Kellermann
2020-11-06Merge tag 'v0.22.3' into masterMax Kellermann
release v0.22.3
2020-11-06increment version number to 0.22.4Max Kellermann
2020-11-06release v0.22.3v0.22.3Max Kellermann
2020-11-06storage/curl: fix nullptr dereferenceMax Kellermann
Pass a std::string to PathTraitsUTF8::Relative(), implicitly casting it to std::string_view. This selects the right overload which returns std::string_view instead of `const char *`; the latter could return `nullptr` which would cause the implicit conversion of the return value to std::string_view to crash. Regression caused by commits ead208987dd and a98d627c0bd. Closes https://github.com/MusicPlayerDaemon/MPD/issues/995
2020-11-05clang-tidy: replace std::bind with lambdasRosen Penev
Found with modernize-avoid-bind Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-04util/MimeType: use IterableSplitString() in ParseMimeTypeParameters()Max Kellermann
2020-11-04playlist/registry: remove duplicate function ExtractMimeTypeMainPart()Max Kellermann
This is the same as GetMimeTypeBase(), which has already been applied.
2020-11-04util/MimeType: migrate GetMimeTypeBase() to std::string_viewMax Kellermann
2020-11-04util/UriExtract: remove the query string at the beginning of uri_get_suffix()Max Kellermann
2020-11-04util/UriExtract: pass std::string_view to uri_get_suffix()Max Kellermann
2020-11-04util/UriExtract: uri_get_suffix() returns std::string_viewMax Kellermann
No need to copy it to a buffer.
2020-11-04{decoder,archive,playlist}/plugin: pass std::string_view to SupportsMimeType()Max Kellermann
2020-11-04Merge branch 'v0.22.x' into masterMax Kellermann
2020-11-04Merge branch 'clng11' of git://github.com/neheb/MPD into masterMax Kellermann
2020-11-04filter/LoadChain: use the AutoConvertFilterMax Kellermann
This adds support for input samples other than 16 bit to the FFmpeg filter plugin.
2020-11-04filter/AutoConvert: move the Filter class to TwoFilters.cxxMax Kellermann
2020-11-04filter/AutoConvert: eliminate AutoConvertFilter if possibleMax Kellermann
If no conversion is necessary, return the child Filter as-is. This allows removing all nullptr checks from AutoConvertFilter.
2020-11-04filter/ffmpeg: interleave the output AVFrameMax Kellermann
If the FFmpeg filter outputs planar data, interleave it, just like the FFmpeg decoder plugin does.
2020-11-04decoder/ffmpeg: move code to lib/ffmpeg/Interleave.cxxMax Kellermann
To be reused by the FFmpeg filter plugin.
2020-11-04decoder/ffmpeg: use AVFrame fields instead of AVCodecContext fieldsMax Kellermann
2020-11-04lib/ffmpeg/Buffer: add missing includeMax Kellermann
2020-11-04lib/ffmpeg/Buffer: disallow copyingMax Kellermann
2020-11-04lib/ffmpeg/Buffer: add `noexcept`Max Kellermann
2020-11-04lib/ffmpeg/{Buffer,Time}: remove obsolete "#undef SampleFormat"Max Kellermann
This compatibility macro has been removed from FFmpeg long ago.
2020-11-04filter/convert: convert_filter_new() returns std::unique_ptrMax Kellermann
2020-11-04filter/chain: pass std::string_view to filter_chain_append()Max Kellermann
2020-11-04filter/LoadChain: use IterableSplitString()Max Kellermann
2020-11-04filter/chain: copy the child nameMax Kellermann
filter_chain_parse() passes a temporary string pointer which results in a use-after-free in the PreparedChainFilter::Child::Open() error message.