aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* spelling correction source-outputJordan Beaver2014-12-291-1/+1
|
* ponymix.1: set-default doesn't take any argDave Reisner2014-12-261-2/+3
|
* ponymix.1: fix typo in action nameDave Reisner2014-12-261-1/+1
|
* prepare v4Dave Reisner2014-08-211-1/+1
|
* add regression test for GHI#26.Dave Reisner2014-08-201-0/+2
|
* fix volume roundingDaniel Micay2014-08-201-2/+2
| | | | Closes #26
* Revert "pulse: use ceil() instead of floor() for volume percentages"Dave Reisner2014-08-201-1/+1
| | | | | | | This commit introduced a functional bug at the cost of attempting to fix a cosmetic one. This reverts commit 067f37d641ab7ae7171ea4bb362e723b0089e671.
* more ponies behind fewer pipes.Dave Reisner2014-08-201-1/+2
|
* prepare v3Dave Reisner2014-08-191-1/+1
|
* pulse: use ceil() instead of floor() for volume percentagesDave Reisner2014-08-191-1/+1
| | | | Fixes GHI#26.
* remove runtime_error exceptions for impossibleDave Reisner2014-07-052-6/+0
| | | | these should be caught at compiletime, not runtime
* Make Range::InRange a boolDave Reisner2014-07-052-6/+4
|
* avoid extra copy of profile when resettingDave Reisner2014-05-081-1/+1
|
* advertise the correct version on pulseDave Reisner2014-05-071-1/+1
|
* add is-available verbDave Reisner2014-05-064-3/+40
|
* I gotta have more poniesDave Reisner2014-05-061-0/+3
|
* use std::max instead of fmaxDave Reisner2014-01-061-2/+1
|
* implement --short option to replace *-short commandsDave Reisner2013-11-202-61/+44
| | | | | | | | This deprecates and removes documentation for list-short, list-cards-short and list-profiles-short, but does not actually remove their functionality (for backwards compat). Using any of these commands will simply call the s/-short// version of the command and set the --short option instead.
* whitespace policeDave Reisner2013-11-051-4/+0
|
* Fix segfault when invalid command issued.Simon Gomizelj2013-11-051-0/+3
| | | | | First check if we actually find an entry inside the action map before working on it further.
* add .ycm_extra_conf.pyDave Reisner2013-09-251-0/+89
|
* prepare v2 releaseDave Reisner2013-08-251-1/+1
|
* Add upload target, switch to xz distballsDave Reisner2013-08-251-1/+5
|
* pulse: swap vectors rather than repopulating directlyDave Reisner2013-08-231-10/+21
|
* mark methods as constDave Reisner2013-08-231-5/+5
|
* notify: Create a NullNotifier as the default notifierDave Reisner2013-08-222-11/+12
| | | | This notifier is boring. It does nothing.
* pulse: avoid passing primitives by referenceDave Reisner2013-08-222-15/+15
|
* lib: remove unused varsDave Reisner2013-08-221-2/+0
|
* directly construct maps/structs via initializer listDave Reisner2013-08-031-3/+3
|
* favor static_cast over c-style castsDave Reisner2013-08-032-20/+16
|
* makefile: -std=c++11 should be part of CFLAGSDave Reisner2013-08-031-3/+1
|
* pulse: capture the only needed arg, and by referenceDave Reisner2013-05-291-1/+1
| | | | oh dear c++....
* implement --max-volume to override baked in defaultsDave Reisner2013-04-302-1/+28
| | | | Solves GH#19.
* add version function, wire it up from the makefileDave Reisner2013-04-104-5/+23
|
* Favor nullptr over NULLDave Reisner2013-04-101-1/+1
|
* clamp max volume based on max(dev->vol(), 100)Dave Reisner2013-04-101-1/+3
| | | | Fixes GHI#17.
* remove unnecessary indirect varsDave Reisner2013-04-081-13/+5
|
* Merge pull request #16 from vodik/masterDave Reisner2013-04-081-1/+1
|\ | | | | Don't connect to pulseaudio with PA_CONTEXT_NOFAIL
| * Don't connect with PA_CONTEXT_NOFAILSimon Gomizelj2013-04-081-1/+1
|/ | | | | | | | | | | | | | | NOFAIL means we don't fail if the daemon is not available when pa_context_connect() is called and instead enter PA_CONTEXT_CONNECTING state and wait for the daemon to appear. So currently if pulseaudio isn't running or available, ponymix will just block and wait. Since a lot of people use ponymix bound to their volume keys, this could potentially mean spawning 100s of processes before actually catching on that things aren't working. PA_CONTEXT_NOFLAGS was introduced in 0.9.19. Its really just 0. Signed-off-by: Simon Gomizelj <simongmzlj@gmail.com>
* check for exact match before matching on a prefixDave Reisner2013-03-121-1/+7
|
* allow matching commands on prefixesDave Reisner2013-03-011-8/+30
| | | | | | | | | | Allow for invocations such as "ponymix get-v" or "ponymix -d SB set-d". Bail when the command is ambiguous and print the possible matches. This necessarily means changing the return type of string_to_command to return the whole pair<> out of the action map to allow for useful errors when we do arg checking (as we don't necessarily have the full command name from the user).
* remove unused headerDave Reisner2013-02-281-1/+0
|
* add dist targetDave Reisner2013-01-271-0/+4
|
* whitespace policeDave Reisner2013-01-271-1/+1
|
* document --notifyDave Reisner2013-01-223-2/+7
|
* add support for libnotify based notifierDave Reisner2013-01-223-1/+71
|
* always use nullptr instead of NULLDave Reisner2013-01-212-3/+3
|
* abstract volume/balance output away from ponymixDave Reisner2013-01-215-39/+80
| | | | | | Add a Notifier virtual base class and a CommandLineNotifier implementation which handles output of volume and balance levels after a change.
* clamp volume betweem 0-100 when using increase/decreaseDave Reisner2013-01-201-16/+10
|
* use convenient methods for increase/decreaseDave Reisner2013-01-062-3/+3
|