Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | s/populate/&_levels/ | Dave Reisner | 2012-08-11 | 1 | -5/+5 |
| | | | | give this function a clearer name | ||||
* | clamp max volume more tightly | Dave Reisner | 2012-08-11 | 1 | -3/+3 |
| | | | | max via increase is capped at 100, max via set-volume to 150 | ||||
* | move operations into nested struct of sink | Dave Reisner | 2012-08-11 | 1 | -28/+30 |
| | |||||
* | fix the optstring | Simon Gomizelj | 2012-08-11 | 1 | -1/+1 |
| | |||||
* | add move action | Simon Gomizelj | 2012-08-11 | 1 | -2/+43 |
| | |||||
* | change the default action based on mode | Simon Gomizelj | 2012-08-11 | 1 | -2/+2 |
| | | | | | - defaults for devices - list for applications | ||||
* | organize usage message | Simon Gomizelj | 2012-08-11 | 1 | -2/+6 |
| | |||||
* | add kill operation | Simon Gomizelj | 2012-08-11 | 1 | -2/+30 |
| | |||||
* | add a per-application mode | Simon Gomizelj | 2012-08-11 | 1 | -26/+148 |
| | |||||
* | remove dead code | Dave Reisner | 2012-08-11 | 1 | -8/+0 |
| | |||||
* | print effective volume after mute operation | Dave Reisner | 2012-08-11 | 1 | -2/+8 |
| | |||||
* | tighten scoping on pulse server connect | Dave Reisner | 2012-08-11 | 1 | -4/+2 |
| | |||||
* | add static qualifiers where needed | Dave Reisner | 2012-08-11 | 1 | -3/+3 |
| | |||||
* | correct usage message | Simon Gomizelj | 2012-08-11 | 1 | -10/+10 |
| | |||||
* | remove getters, unmute and mute | Simon Gomizelj | 2012-08-11 | 1 | -24/+4 |
| | |||||
* | add actions to set and get balance | Simon Gomizelj | 2012-08-11 | 1 | -0/+51 |
| | |||||
* | replace set-sink with a generalized set-default | Simon Gomizelj | 2012-08-11 | 1 | -30/+23 |
| | | | | | | | | Have one operation that can set both the default source and sink based on context. pulsemix --sink set-default 0 pulsemix --source set-default 0 | ||||
* | add defaults action and make it default | Simon Gomizelj | 2012-08-11 | 1 | -4/+12 |
| | | | | | The `defaults` action lists the default sink and source while `list` lists everything. This action makes more sense as a default action. | ||||
* | add is-muted action | Simon Gomizelj | 2012-08-11 | 1 | -0/+7 |
| | |||||
* | add [Muted] to muted devices when printing | Simon Gomizelj | 2012-08-11 | 1 | -2/+3 |
| | |||||
* | make the list action output sources too | Simon Gomizelj | 2012-08-11 | 1 | -0/+9 |
| | |||||
* | add support to enumerate and operate on sources | Simon Gomizelj | 2012-08-11 | 1 | -27/+103 |
| | |||||
* | generalize printing devices | Simon Gomizelj | 2012-08-11 | 1 | -9/+12 |
| | |||||
* | name and desc should be copied to avoid corruption | Simon Gomizelj | 2012-08-11 | 1 | -12/+10 |
| | |||||
* | use function pointers to generatize operations | Simon Gomizelj | 2012-08-11 | 1 | -20/+26 |
| | |||||
* | generalize sink_t to represent sinks and streams | Simon Gomizelj | 2012-08-11 | 1 | -35/+42 |
| | | | | | | | Rename: - sink_t to io_t - sink_t's sink_next to next - pulseaudio_t's sink to head. |