Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | directly construct maps/structs via initializer list | Dave Reisner | 2013-08-03 | 1 | -3/+3 |
| | |||||
* | favor static_cast over c-style casts | Dave Reisner | 2013-08-03 | 2 | -20/+16 |
| | |||||
* | makefile: -std=c++11 should be part of CFLAGS | Dave Reisner | 2013-08-03 | 1 | -3/+1 |
| | |||||
* | pulse: capture the only needed arg, and by reference | Dave Reisner | 2013-05-29 | 1 | -1/+1 |
| | | | | oh dear c++.... | ||||
* | implement --max-volume to override baked in defaults | Dave Reisner | 2013-04-30 | 2 | -1/+28 |
| | | | | Solves GH#19. | ||||
* | add version function, wire it up from the makefile | Dave Reisner | 2013-04-10 | 4 | -5/+23 |
| | |||||
* | Favor nullptr over NULL | Dave Reisner | 2013-04-10 | 1 | -1/+1 |
| | |||||
* | clamp max volume based on max(dev->vol(), 100) | Dave Reisner | 2013-04-10 | 1 | -1/+3 |
| | | | | Fixes GHI#17. | ||||
* | remove unnecessary indirect vars | Dave Reisner | 2013-04-08 | 1 | -13/+5 |
| | |||||
* | Merge pull request #16 from vodik/master | Dave Reisner | 2013-04-08 | 1 | -1/+1 |
|\ | | | | | Don't connect to pulseaudio with PA_CONTEXT_NOFAIL | ||||
| * | Don't connect with PA_CONTEXT_NOFAIL | Simon Gomizelj | 2013-04-08 | 1 | -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 prefix | Dave Reisner | 2013-03-12 | 1 | -1/+7 |
| | |||||
* | allow matching commands on prefixes | Dave Reisner | 2013-03-01 | 1 | -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 header | Dave Reisner | 2013-02-28 | 1 | -1/+0 |
| | |||||
* | add dist target | Dave Reisner | 2013-01-27 | 1 | -0/+4 |
| | |||||
* | whitespace police | Dave Reisner | 2013-01-27 | 1 | -1/+1 |
| | |||||
* | document --notify | Dave Reisner | 2013-01-22 | 3 | -2/+7 |
| | |||||
* | add support for libnotify based notifier | Dave Reisner | 2013-01-22 | 3 | -1/+71 |
| | |||||
* | always use nullptr instead of NULL | Dave Reisner | 2013-01-21 | 2 | -3/+3 |
| | |||||
* | abstract volume/balance output away from ponymix | Dave Reisner | 2013-01-21 | 5 | -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/decrease | Dave Reisner | 2013-01-20 | 1 | -16/+10 |
| | |||||
* | use convenient methods for increase/decrease | Dave Reisner | 2013-01-06 | 2 | -3/+3 |
| | |||||
* | avoid copying the passed vector to find_fuzzy | Dave Reisner | 2013-01-06 | 2 | -2/+2 |
| | |||||
* | generalize gitignore | Dave Reisner | 2013-01-06 | 1 | -1/+1 |
| | |||||
* | bash-completion: detect devtype via -t | Dave Reisner | 2013-01-05 | 1 | -3/+6 |
| | |||||
* | unify logic for finding by name fragment | Dave Reisner | 2013-01-05 | 2 | -33/+29 |
| | |||||
* | fix completion for device names with whitespace | Dave Reisner | 2013-01-05 | 1 | -3/+8 |
| | | | | Not sure this is the best way, but it's relatively clean, and it works. | ||||
* | offer appropriate device completion for move | Dave Reisner | 2013-01-04 | 1 | -0/+16 |
| | |||||
* | install bash completion too.... | Dave Reisner | 2013-01-04 | 1 | -0/+1 |
| | |||||
* | add rudimentary bash completion | Dave Reisner | 2013-01-04 | 1 | -0/+92 |
| | |||||
* | restrict list when using the -t flag | Dave Reisner | 2013-01-03 | 1 | -0/+1 |
| | |||||
* | store possible device/card matches as pointers | Dave Reisner | 2013-01-03 | 1 | -8/+9 |
| | | | | | Avoid invoking the copy constructors and storing new objects which can't be returned (as they're local variables). | ||||
* | allow fuzzy matching on devices | Dave Reisner | 2013-01-03 | 2 | -6/+30 |
| | |||||
* | 80 columns! | Dave Reisner | 2013-01-03 | 3 | -6/+12 |
| | |||||
* | add zsh completion | Daniel Wallace | 2013-01-03 | 2 | -0/+129 |
| | | | | Updated but doesn't include card/profile completion | ||||
* | README -> README.md | Dave Reisner | 2013-01-03 | 2 | -3/+5 |
| | |||||
* | allow overriding the compiler | Dave Reisner | 2013-01-03 | 1 | -1/+1 |
| | |||||
* | we're c++ now. | Dave Reisner | 2013-01-03 | 3 | -1028/+4 |
| | |||||
* | fixup tests | Dave Reisner | 2013-01-03 | 1 | -2/+2 |
| | |||||
* | Merge remote-tracking branch 'pwnymix/master' | Dave Reisner | 2013-01-03 | 5 | -53/+1605 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * pwnymix/master: (25 commits) show description in list-short properly clamp values in Set{Balance,Volume} resolve the card choice as late as possible allow card lookup by index Cleanup manpage, reintroduce application commands section add manpage reorg usage output remove defunct enum implement -short variations of list verbs A dash of color... fix abort on set-profile after removing profile whitespace police remove string_to_device; PulseClient can do this now always defined behaviors for devices Derive the card from the targetted device ponymix: validate arg count before invoking function rename class Pulse to PulseClient makefile: CFLAGS -> CXXFLAGS eschew _unused_ attribute alias sane types to --device flags ... Conflicts: Makefile ponymix.1 | ||||
| * | show description in list-short | Dave Reisner | 2013-01-03 | 1 | -2/+3 |
| | | |||||
| * | properly clamp values in Set{Balance,Volume} | Dave Reisner | 2013-01-03 | 1 | -8/+6 |
| | | |||||
| * | resolve the card choice as late as possible | Dave Reisner | 2013-01-03 | 1 | -24/+21 |
| | | | | | | | | | | | | | | Avoid some needless churn of back and forth between a card name and Card*. We rarely actually need the card unless we're performing an operation on it, so delay it as long as possible. Add a convenience function to resolve the active card or die. | ||||
| * | allow card lookup by index | Dave Reisner | 2013-01-03 | 1 | -0/+3 |
| | | |||||
| * | Cleanup manpage, reintroduce application commands section | Dave Reisner | 2013-01-03 | 2 | -5/+22 |
| | | | | | | | | | | | | | | 99d86934399e9 implies that I lied. move and kill have special behavior since they only ever really operate on sink-inputs and source-outputs. Reflect this in Kill on the frontend, since it previously required the exact device type. | ||||
| * | add manpage | Dave Reisner | 2013-01-02 | 1 | -0/+99 |
| | | | | | | | | Yay, the makefile is no longer a lie! | ||||
| * | reorg usage output | Dave Reisner | 2013-01-02 | 1 | -11/+7 |
| | | |||||
| * | remove defunct enum | Dave Reisner | 2013-01-02 | 1 | -28/+1 |
| | | |||||
| * | implement -short variations of list verbs | Dave Reisner | 2013-01-02 | 1 | -60/+130 |
| | | |||||
| * | A dash of color... | Dave Reisner | 2013-01-02 | 1 | -6/+85 |
| | |