aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* TagFile: use decoder_plugins_try()Max Kellermann2013-12-291-41/+54
| | | | | | .. instead of decoder_plugin_from_suffix(). This reduces overhead by walking the array only once.
* DecoderList: remove unused function decoder_plugin_from_mime_type()Max Kellermann2013-12-292-25/+0
|
* Merge branch 'v0.18.x'Max Kellermann2013-12-293-9/+18
|\
| * configure.ac: improved check for libyajl 1.0Max Kellermann2013-12-292-1/+3
| | | | | | | | | | | | | | | | If we have libyajl 2.0.1 (without a pkg-config file), our configure.ac would assume this is the libyajl 1.0 API, because the function yajl_alloc() exists in both. This commit changes the library check to the function yajl_parse_complete() which was removed in the 2.0 API. This fixes build failure with libyajl 2.0.1.
| * daemon: no initgroups() when already running as the configured userMax Kellermann2013-12-292-1/+7
| | | | | | | | | | We can assume that initgroups() would be a no-op in that case, however initgroups() is not allowed for unprivileged users anyway.
| * Daemon: fix typo in commentMax Kellermann2013-12-291-1/+1
| |
| * Daemon: simplify nested "if"Max Kellermann2013-12-291-5/+4
| |
| * Daemon: fix typo in castMax Kellermann2013-12-291-1/+1
| |
| * configure.ac: prepare for 0.18.7Max Kellermann2013-12-292-1/+3
| |
* | input/smbclient: new input pluginMax Kellermann2013-12-298-0/+274
| |
* | ls: add "pure" attributeMax Kellermann2013-12-291-0/+3
| |
* | pcm/Volume: remove unused function pcm_volume_dither()Max Kellermann2013-12-281-16/+0
| |
* | pcm/PcmMix: improved ditheringMax Kellermann2013-12-285-25/+48
| | | | | | | | Use the existing PcmDither library.
* | pcm/Volume: improved ditheringMax Kellermann2013-12-286-22/+59
| | | | | | | | | | Instead of just adding a rectangular random value before shifting back to the normal scale, use the existing PcmDither library.
* | pcm/PcmDither: inline Dither24To16() and Dither32To16()Max Kellermann2013-12-283-4/+5
| |
* | pcm/Volume: remove optimized i386 assemblyMax Kellermann2013-12-281-50/+0
| | | | | | | | | | This code is unable to dither. Until we implement that, let's remove the code for now. i386 isn't relevant anymore anyway.
* | pcm/Traits: use 32 bit integer for S8 long_typeMax Kellermann2013-12-251-1/+1
| | | | | | | | 16 bit is not enough for volume calculations.
* | pcm/Dither: add API documentationMax Kellermann2013-12-241-0/+18
| |
* | pcm/Dither: move shift from DitherConvert() to Dither()Max Kellermann2013-12-241-2/+2
| | | | | | | | All callers need this shift, so let's move it to the basic method.
* | pcm/Dither: rename DitherShift() to DitherConvert()Max Kellermann2013-12-242-11/+11
| |
* | test/*: use fprintf(stderr,...) and Log() instead of g_printerr()Max Kellermann2013-12-2412-110/+102
| | | | | | Avoid GLib.
* | test/*: remove GLib logging setupMax Kellermann2013-12-245-60/+0
| | | | | | | | Obsolete, our logging library doesn't ues GLib anymore.
* | Merge tag 'release-0.18.6'Max Kellermann2013-12-246-8/+21
|\|
| * release v0.18.6Max Kellermann2013-12-242-2/+2
| |
| * PlayerThread: log the last song that was playedMax Kellermann2013-12-241-1/+4
| |
| * OutputControl: update both ReplayGainFiltersMax Kellermann2013-12-242-0/+3
| | | | | | | | | | The "mode" of the second ReplayGainFilter was never set, and thus replay gain was never applied to the new song during cross-fade.
| * fix FfmpegDecoderPlugin to use relative timestampsSteven O'Brien2013-12-202-4/+8
| |
| * util/Error: add missing <algorithm> includeMax Kellermann2013-12-191-0/+1
| | | | | | | | For std::move().
| * riff: recognize upper-case "ID3" chunk nameMichal Smucr2013-12-192-1/+4
| | | | | | | | Some tagging libraries (eg. TagLib) produce that variant.
| * input/cdio: fix typo in #include pathMax Kellermann2013-12-171-1/+1
| | | | | | | | Broken by commit 3b0fea5f
* | OutputThread: handle failing ReplayGainFilter::Open()Max Kellermann2013-12-241-4/+10
| | | | | | | | | | Since opening the PcmVolume object can now fail, this case must be handled.
* | pcm/Volume: convert to classMax Kellermann2013-12-238-273/+233
| | | | | | | | Prepare for adding state.
* | pcm/Volume: apply volume into destination bufferMax Kellermann2013-12-231-21/+37
| |
* | pcm/Volume: convert i386 code to template specializationMax Kellermann2013-12-231-42/+42
| |
* | pcm/Volume: move code to template pcm_volume_sample()Max Kellermann2013-12-231-7/+16
| |
* | pcm/PcmVolume: rename to Volume.cxxMax Kellermann2013-12-2312-11/+11
| |
* | pcm/PcmConvert: move the Domain instance to Domain.cxxMax Kellermann2013-12-237-9/+57
| | | | | | | | | | Rename pcm_convert_domain to pcm_domain. Move it out so we can use it without depending on the whole PcmConvert library.
* | ConfigData: initialise "used" in second constructorMax Kellermann2013-12-231-1/+1
| |
* | pcm/Dither: convert remaining methods to templatesMax Kellermann2013-12-222-26/+39
| | | | | | | | | | Use the SampleTraits template and let the compiler generate a special case for S32 instead of reusing S24_P32.
* | pcm/Dither: generic sample dithering using templateMax Kellermann2013-12-222-13/+25
| |
* | pcm/Traits: include stddef.h for size_tMax Kellermann2013-12-221-0/+1
| |
* | pcm/Traits: add MIN and MAXMax Kellermann2013-12-222-9/+28
| | | | | | | | Move from PcmClamp().
* | pcm/Volume: add constant PCM_VOLUME_BITSMax Kellermann2013-12-222-1/+6
| |
* | pcm/Volume: make PCM_VOLUME_1 a "constexpr"Max Kellermann2013-12-223-13/+13
| |
* | pcm/Prng: make pcm_prng() inlineMax Kellermann2013-12-221-1/+1
| |
* | util/Clamp: generic Clamp() functionMax Kellermann2013-12-224-3/+54
| |
* | event/PollGroupPoll: include stddef.h instead of string.hMax Kellermann2013-12-211-1/+2
| |
* | input/alsa: fix build with gcc 4.6Max Kellermann2013-12-211-12/+12
| |
* | configure.ac: skip Linux specific tests on other OSsMax Kellermann2013-12-201-6/+23
| |
* | add draft ALSA input pluginSteven O'Brien2013-12-196-0/+254
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I've created an elementary input plugin that plays sound from the soundcard, so you can use MPD to listen to anything connected to the line-in jack, or to Video4Linux FM radio cards that send audio through the soundcard. There has been a small number of posts here in the past requesting line-in input, so here is a first, simplistic stab at it. The patch adds a new sheme, alsa://, which causes mpd to play data read directly from a souncdard. It defaults to hw:0,0, but you can pass any ALSA device name in the URI. So, using mpc for example: mpc add alsa:// mpc play will play from device hw:0,0. To use a diffferent device: mpc add alsa://hw:1,0