Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | denote that "defaults" is the default command | Dave Reisner | 2012-09-27 | 1 | -1/+1 |
| | |||||
* | use the full field initializer for arg | Dave Reisner | 2012-09-18 | 1 | -1/+1 |
| | |||||
* | add check for mode to action_t | Simon Gomizelj | 2012-09-18 | 1 | -19/+23 |
| | |||||
* | collect state and arguments, restructure | Simon Gomizelj | 2012-09-18 | 1 | -104/+128 |
| | | | | | | | | Collect all state into struct runtime_t, all arguments into struct arg_t. This simplifies argument passing so we can split device loading into a helper function and restructure main into something much cleaner. | ||||
* | move to a proper list implementation | Simon Gomizelj | 2012-09-18 | 1 | -107/+101 |
| | | | | | | | Build a proper doubly linked list of devices so that they don't get listed in backwards order. Also compute default sink and source names in pulse_init. | ||||
* | remove success from pulseaudio_t | Simon Gomizelj | 2012-09-12 | 1 | -21/+26 |
| | |||||
* | stop stuffing things in globals | Simon Gomizelj | 2012-09-12 | 1 | -86/+95 |
| | | | | | Have the various sink and source getters return a list of items rather than stuffing the results in pulseaudio_t. | ||||
* | Merge pull request #4 from vodik/bugfixes | Dave Reisner | 2012-09-06 | 1 | -1/+6 |
|\ | | | | | Bugfixes | ||||
| * | increase shouldn't ever lower volume | Simon Gomizelj | 2012-08-23 | 1 | -0/+5 |
| | | | | | | | | | | Due to the CLAMP, if you set the volume above 100 and invoke increase, it'll drop back down to 100. It probably shouldn't do this. | ||||
| * | default actions are backwards | Simon Gomizelj | 2012-08-23 | 1 | -1/+1 |
| | | |||||
* | | use LDLIBS for added library deps | Dave Reisner | 2012-08-21 | 1 | -1/+1 |
|/ | |||||
* | expand color spectrum | Dave Reisner | 2012-08-15 | 1 | -6/+29 |
| | |||||
* | fix invalid memory access | Dave Reisner | 2012-08-14 | 1 | -1/+1 |
| | |||||
* | colorize pretty printed output | Simon Gomizelj | 2012-08-14 | 1 | -5/+50 |
| | | | | | | | | | | | | | | | | | | | | | .,,. ,;;*;;;;, .-'``;-');;. /' .-. /*;; .' \d \;; .;;;, / o ` \; ,__. ,;*;;;*;, \__, _.__,' \_.-') __)--.;;;;;*;;;;, `""`;;;\ /-')_) __) `\' ';;;;;; ;*;;; -') `)_) |\ | ;;;;*; ;;;;| `---` O | | ;;*;;; *;*;\| O / ;;;;;* ;;;;;/| .-------\ / ;*;;;;; ;;;*;/ \ | '. (`. ;;;*;;; ;;;;;'. ; | ) \ | ;;;;;; ,;*;;;;\/ |. / /` | ';;;*; ;;;;;;/ |/ / /__/ ';;; '*jgs/ | / | ;*; `""""` `""""` ;' | ||||
* | fix (null) string on unknown action | Dave Reisner | 2012-08-14 | 1 | -1/+1 |
| | |||||
* | s/state_cb/connect_&/ | Dave Reisner | 2012-08-14 | 1 | -2/+2 |
| | |||||
* | avoid reinventing wrapper around PA_CONTEXT_* | Dave Reisner | 2012-08-14 | 1 | -20/+5 |
| | |||||
* | remove connectstate from pulseaudio_t | Dave Reisner | 2012-08-14 | 1 | -28/+17 |
| | | | | | this isn't needed outside of the conneciton logic, so there's no point in making room for it on the heap for the whole process. | ||||
* | fix option handling. oops | Dave Reisner | 2012-08-14 | 1 | -5/+7 |
| | |||||
* | move toggle tests until after mute state is guaranteed | Dave Reisner | 2012-08-14 | 1 | -2/+2 |
| | | | | This test rig sucks. | ||||
* | validate argument count with string -> enum conversion | Dave Reisner | 2012-08-14 | 2 | -37/+34 |
| | |||||
* | with a better project name, we need a better PA name | Dave Reisner | 2012-08-14 | 1 | -1/+1 |
| | |||||
* | This repo is now about ponies. | Dave Reisner | 2012-08-14 | 5 | -21/+21 |
| | |||||
* | add mute/unmute/toggle tests | Dave Reisner | 2012-08-13 | 1 | -0/+4 |
| | |||||
* | consistently return EXIT_{SUCCESS,FAILURE} in main | Dave Reisner | 2012-08-13 | 1 | -4/+4 |
| | |||||
* | add missing -d option | Dave Reisner | 2012-08-13 | 1 | -3/+3 |
| | | | | alphabetize the optstring and longopt array while we're at it. | ||||
* | use a static array and loop to validate actions | Dave Reisner | 2012-08-13 | 2 | -34/+30 |
| | |||||
* | enforce gnu99, since we rely on c99 and gnu extensions | Dave Reisner | 2012-08-13 | 1 | -0/+1 |
| | |||||
* | cut back on number of fputs calls | Dave Reisner | 2012-08-13 | 1 | -30/+30 |
| | |||||
* | remove unneeded casts from void* | Dave Reisner | 2012-08-13 | 1 | -2/+2 |
| | |||||
* | add adj-balance verb for incremental balance changes | Dave Reisner | 2012-08-13 | 3 | -2/+17 |
| | | | | | This is useful if you ever wanted to script balance adjustment, since it would otherwise require 2 invocations (get + set). | ||||
* | add a manpage | Dave Reisner | 2012-08-13 | 2 | -2/+75 |
| | |||||
* | add shiesty runtests script | Dave Reisner | 2012-08-13 | 2 | -0/+54 |
| | |||||
* | cleanup usage, make it clear what command args are | Dave Reisner | 2012-08-13 | 1 | -20/+20 |
| | |||||
* | Merge remote-tracking branch 'vodik/cleanup' | Dave Reisner | 2012-08-13 | 1 | -39/+49 |
|\ | | | | | | | | | | | | | | | * vodik/cleanup: deduplicate some error handling make move take all its arguments explictly refactor main with a switch make kill take an explicit ID | ||||
| * | deduplicate some error handling | Simon Gomizelj | 2012-08-13 | 1 | -7/+4 |
| | | |||||
| * | make move take all its arguments explictly | Simon Gomizelj | 2012-08-13 | 1 | -6/+8 |
| | | |||||
| * | refactor main with a switch | Simon Gomizelj | 2012-08-13 | 1 | -25/+31 |
| | | |||||
| * | make kill take an explicit ID | Simon Gomizelj | 2012-08-13 | 1 | -8/+13 |
| | | |||||
* | | add missing static qualifier for do_verb | Dave Reisner | 2012-08-13 | 1 | -1/+1 |
|/ | |||||
* | move verb-based action into separate function, do_verb | Dave Reisner | 2012-08-13 | 1 | -46/+40 |
| | | | | I'm so good at naming functions. | ||||
* | return ints from getters for better exit status | Dave Reisner | 2012-08-13 | 1 | -14/+23 |
| | |||||
* | remove unneeded declaration | Dave Reisner | 2012-08-13 | 1 | -2/+1 |
| | |||||
* | fold connection into pulse_init | Dave Reisner | 2012-08-13 | 1 | -20/+19 |
| | |||||
* | die less. make a better effort to return. | Dave Reisner | 2012-08-12 | 1 | -19/+37 |
| | |||||
* | remove pa_mainloop_api from pulseaudio_t | Dave Reisner | 2012-08-12 | 1 | -6/+3 |
| | | | | We don't need to carry this around on the pulse struct. | ||||
* | s/get_(sinks|sources)/populate_\1/ | Dave Reisner | 2012-08-11 | 1 | -4/+4 |
| | |||||
* | use switch/case for determining mode | Dave Reisner | 2012-08-11 | 1 | -12/+30 |
| | |||||
* | separate control modes in usage | Dave Reisner | 2012-08-11 | 1 | -2/+4 |
| | |||||
* | dedupe sink creation code | Dave Reisner | 2012-08-11 | 1 | -38/+22 |
| | | | | | A macro cleans this up nicely, since the info parameter passed to each *_new function is different. |