summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-07-17util/PrintException: new utility classMax Kellermann
2018-07-17config/Data: FindBlock() throws on errorMax Kellermann
2018-07-17config/Data: add method FindBlock()Max Kellermann
2018-07-17config/Data: make getters constMax Kellermann
2018-07-17config/Data: add getter methodsMax Kellermann
2018-07-17config/Global: remove ConfigBlock::SetUsed() call, let caller do thatMax Kellermann
This fixes an old bug which caused the "unused" warnings to be unreliable; only the first block in the list was marked as being "used", no matter if it was really used, and the rest was never marked as "used", suppressing all warnings for them.
2018-07-17config/Block: add method SetUsed()Max Kellermann
2018-07-17config/Block: make "used" mutableMax Kellermann
2018-07-17config/Param: remove unused "used" flagMax Kellermann
2018-07-17config/File: move duplicate code to ExpectValueAndEnd()Max Kellermann
2018-07-17config/Param: allow moving the valueMax Kellermann
2018-07-17config/Param: inline the constructorMax Kellermann
2018-07-17config/Param: use C++11 initializersMax Kellermann
2018-07-17config/Block: allow moving name and valueMax Kellermann
2018-07-17config/Block: use C++11 initializersMax Kellermann
2018-07-17fs/Path: add operator/(Path,Path)Max Kellermann
Modeled after std::filesystem::operator/() from C++17.
2018-07-17CommandLine: use constexpr Path instead of macrosMax Kellermann
2018-07-16config/File: use nested exception to annotate file name and line numberMax Kellermann
2018-07-16config/Config*: rename files, drop "Config" prefixMax Kellermann
2018-07-16Merge branch 'patch-4' of git://github.com/Wang-Yue/MPDMax Kellermann
2018-07-16use uint_least32_t instead of long for timeoutYue Wang
2018-07-16Merge branch 'can' of git://github.com/Wang-Yue/MPDMax Kellermann
2018-07-16Implement Cancel() for OSXOutputPluginYue Wang
2018-07-16output/Interface: add method ChangeAudioFormat()Max Kellermann
This is just the API design; there is no implementation yet, and no caller.
2018-07-16Main, pcm/SampleFormat, command/Error: remove obsolete GCC version checksMax Kellermann
2018-07-16output/alsa: use spsc_queue::reset()Max Kellermann
This method was added in Boost 1.58.
2018-07-16configure.ac: require Boost 1.58Max Kellermann
2018-07-16m4: update various libraries from autoconf-archive 20170928Max Kellermann
Not updating m4/ax_boost_base.m4 because the new version breaks cross-compilation by adding -I/usr/include to BOOST_CPPFLAGS.
2018-07-16Merge branch 'v0.20.x'Max Kellermann
2018-07-16python/build/libs: upgrade libnfs to 3.0.0Max Kellermann
2018-07-16python/build/libs: upgrade CURL to 7.61.0Max Kellermann
2018-07-15Permission: add special permissions for local socketsMax Kellermann
Closes #296
2018-07-15Support timed_wait in microseconds levelYue Wang
Some Audio plugin (such as ALSA, and soon CoreAudio) already support microsecond level buffer time. However, current interval less than 1000 microseconds will cause a bug that the code treated as 0 ms.
2018-07-15doc/user: document client configurationMax Kellermann
Moving some text from the manpage. Oh, documentation is still a mess.
2018-07-15client: pass permission mask to constructorMax Kellermann
Prepare for per-listener permissions.
2018-07-15Listen: simplify code flow in listen_global_init()Max Kellermann
2018-07-15event/ServerSocket: add method IsEmpty()Max Kellermann
2018-07-13Update OSXOutputPlugin.cxxYue Wang
some device seems to have issue with setting kAudioDevicePropertyVolumeScalar with kAudioObjectPropertyElementMaster. Use AudioToolbox 's kAudioHardwareServiceDeviceProperty_VirtualMasterVolume instead. Ideally, we should get the steoro channels first, and set the kAudioDevicePropertyVolumeScalar for each channel, which is doable as presented in https://github.com/cmus/cmus/blob/master/op/coreaudio.c. I will do a follow up PR after refactor PR.
2018-07-13further guard dop code by if (dop_enabled)Yue Wang
2018-07-13Update OSXOutputPlugin.cxxYue Wang
1 sec for pause is too long. we wait for the same amount of time as when ring buffer is not available for writing.
2018-07-13Fix a copy and paste from diff bug.Yue Wang
2018-07-13Enclose pcm_export into the ENABLE_DSD guard.Yue Wang
2018-07-13Simplify audio format assignment codeYue Wang
2018-07-13Merge pull request #1 from Wang-Yue/patch-3Yue Wang
Remove sync_sample_rate option as it's no longer necessary
2018-07-13Remove sync_sample_rate option as it's no longer necessaryYue Wang
2018-07-13Enable OSX output plugin to set hardware sample rate and bit depth at the ↵Yue Wang
same time This PR will fix #271. special thanks to @coroner21 who contributed a nice way to score hardware supported format in #292 Also, The DSD related code are all guarded with ENABLE_DSD flag.
2018-07-13system/FileDescriptor: no-op implementation of *CloseOnExec() on WindowsMax Kellermann
Fixes the NFS client build, closes #305.
2018-07-10enable macOS to use Hardware MixerYue Wang
- Update the mixer to set on device property instead of audio unit property. When user choose "hardware" as mixer type, they will be able to change the hardware device volume instead of the software (AudioUnit) volume. - We don't use square root scale in volume calculation as previous code did. This will make the volume level in line with system volume meter --- That is, MPD will have the same percentage volume reading compared to System Setting (Either in "System Preference" or in "Audio Midi Setup" app)
2018-07-07decoder/flac: call TagHandler::OnAudioFormat()Max Kellermann
2018-07-07decoder/flac: move flac_sample_format() to FlacAudioFormat.hxxMax Kellermann