summaryrefslogtreecommitdiff
path: root/src/mixer
AgeCommit message (Collapse)Author
2018-08-20Compiler.h: move to util/Max Kellermann
2018-08-19mixer/Type: mixer_type_parse() throws on errorMax Kellermann
2018-02-11Merge tag 'v0.20.17'Max Kellermann
release v0.20.17
2018-02-10mixer/alsa: work around rounding error at volume 0Max Kellermann
Due to rounding errors, a slightly negative value can be passed to set_normalized_volume(), which will make the log10() call fail. Actually, volume 0 is already failing because log10(0) is illegal. So let's fix this by implementing two corner cases: <=0 and >=100. Closes #212
2017-12-19Main, ...: catch any exception, not just std::runtime_errorMax Kellermann
2017-12-18Merge tag 'v0.20.13'Max Kellermann
release v0.20.13
2017-12-18rounds alsa HW mixer volume towards ±∞ depending on sgn(∆ vol)Stefano Miccoli
This alleviates a problem in which 'volume +1' cannot be undo by 'volume -1' when using alsa hw mixer. Closes #104
2017-11-12event/MultiSocketMonitor: add "noexcept"Max Kellermann
2017-11-12{mixer,output}/alsa: migrate from DeferredMonitor to DeferEventMax Kellermann
2017-09-16Add sndio mixer pluginChristopher Zimmermann
2017-08-22Merge branch 'v0.20.x' into masterMatthew Leon
contains OSX mixer
2017-08-21OSX mixerMatthew Leon
2017-08-10mixer/oss: use class FileDescriptorMax Kellermann
2017-08-10mixer/Plugin: pass AudioOutput to init()Max Kellermann
Fix breakage from commit bea5681fd8adbc3536ee82b031970e7861ab90f9
2017-08-07output/Internal: rename source to Filtered.cxxMax Kellermann
2017-08-07filter/Internal: rename struct AudioOutput to FilteredAudioOutputMax Kellermann
Prepare to add an abstract class AudioOutput, to be implemented by plugins, to get rid of the C-style vtable.
2017-08-07mixer/Software: include cleanupMax Kellermann
2017-06-08mixer/software, filter/volume: add "noexcept"Max Kellermann
2017-06-08mixer/Internal: add "noexcept"Max Kellermann
2017-06-08mixer/Internal: use C++11 initializersMax Kellermann
2017-06-04Merge tag 'v0.20.9'Max Kellermann
release v0.20.9
2017-06-03storage, db, mixer, command: remove more bogus "pure" attributesMax Kellermann
This commit is similar to 788e3b31e1ab8243386339eaf136ede18f015d55, and removes more "pure" attributes which were placed on functions that could throw exceptions, which is illegal according to clang's understanding of the attribute (but not according to GCC's). GitHub issue #58 was most likely about StorageDirectoryReader::GetInfo() and Storage::GetInfo(), which still had "pure" attributes. Closes #58
2017-05-15Merge tag 'v0.20.7'Max Kellermann
release v0.20.7
2017-05-08*: add "noexcept" to many, many function prototypesMax Kellermann
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
2017-04-28output/Control: add struct AudioOutputControlMax Kellermann
Will move attributes from struct AudioOutput that are specific to the OutputThread. The new struct AudioOutputControl is a holder for the AudioOutput pointer. This prepares for making the output list more dynamic, to allow moving outputs to between partitions.
2017-02-20haiku: fix buildFrançois Revol
Some missing bits when converted to C++ exceptions...
2017-02-19Merge branch 'v0.20.x'Max Kellermann
2017-02-10{input,mixer}/alsa: cancel the DeferredMonitor in the destructorMax Kellermann
Yet another potential crash bug fix.
2017-02-09{input,mixer}/alsa: move code to lib/alsa/NonBlock.cxxMax Kellermann
2017-02-09mixer/alsa: reset the MultiSocketMonitor in the destructorMax Kellermann
Fixes potential crash bug.
2017-02-09{input,mixer}/alsa: fix off-by-one bug in count checkMax Kellermann
Doesn't make a practical difference - but it's more correct this way.
2017-01-07Rewrite of AlsaMixerPlugin to use volume_mappingTermeHansen
Changed AlsaMixerPlugin to use the get and set normalized functions from volume_mapping of alsa-utils/alsamixer Changed volume_mapping set volume to be for all channels and not per channel added volume_mapping files to Makefile.am
2017-01-07Adding volume_mapping from alsa-utils/alsamixerTermeHansen
source: http://git.alsa-project.org/?p=alsa-utils.git;a=blob_plain;f=alsamixer/volume_mapping.c;hb=HEAD http://git.alsa-project.org/?p=alsa-utils.git;a=blob_plain;f=alsamixer/volume_mapping.h;hb=HEAD
2017-01-03update copyright yearMax Kellermann
2017-01-03thread/Mutex: remove ScopeLock, use std::lock_guard directlyMax Kellermann
2016-12-29output/Internal: add various trivial getter methodsMax Kellermann
2016-12-28system/PeriodClock: use std::chrono::steady_clockMax Kellermann
2016-12-28event/Loop: use std::chronoMax Kellermann
2016-09-09mixer: migrate to C++ exceptionsMax Kellermann
2016-09-09output/pulse: use a RTTI lock guardMax Kellermann
Make all the locks exception-safe.
2016-07-01mixer/software: move Filter management to the AudioOutputMax Kellermann
2016-07-01mixer/software: use C++11 initializersMax Kellermann
2016-03-07Merge branch 'v0.19.x'Max Kellermann
2016-03-06mixer/pulse: fix integer division roundingMax Kellermann
2016-03-01*: include cleanup (using iwyu)Max Kellermann
2016-02-26update copyright year to 2016Max Kellermann
2015-11-11StateFile: use StringAfterPrefix() instead of StringStartsWith()Max Kellermann
2015-11-06util/StringUtil: move comparison functions to StringCompare.cxxMax Kellermann
2015-10-16unix/Daemon, playlist/...: remove unused Domain variablesMax Kellermann
2015-09-17unix/Daemon, playlist/pls, ...: remove unused Domain variablesMax Kellermann