aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s/state_cb/connect_&/Dave Reisner2012-08-141-2/+2
|
* avoid reinventing wrapper around PA_CONTEXT_*Dave Reisner2012-08-141-20/+5
|
* remove connectstate from pulseaudio_tDave Reisner2012-08-141-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. oopsDave Reisner2012-08-141-5/+7
|
* move toggle tests until after mute state is guaranteedDave Reisner2012-08-141-2/+2
| | | | This test rig sucks.
* validate argument count with string -> enum conversionDave Reisner2012-08-142-37/+34
|
* with a better project name, we need a better PA nameDave Reisner2012-08-141-1/+1
|
* This repo is now about ponies.Dave Reisner2012-08-145-21/+21
|
* add mute/unmute/toggle testsDave Reisner2012-08-131-0/+4
|
* consistently return EXIT_{SUCCESS,FAILURE} in mainDave Reisner2012-08-131-4/+4
|
* add missing -d optionDave Reisner2012-08-131-3/+3
| | | | alphabetize the optstring and longopt array while we're at it.
* use a static array and loop to validate actionsDave Reisner2012-08-132-34/+30
|
* enforce gnu99, since we rely on c99 and gnu extensionsDave Reisner2012-08-131-0/+1
|
* cut back on number of fputs callsDave Reisner2012-08-131-30/+30
|
* remove unneeded casts from void*Dave Reisner2012-08-131-2/+2
|
* add adj-balance verb for incremental balance changesDave Reisner2012-08-133-2/+17
| | | | | This is useful if you ever wanted to script balance adjustment, since it would otherwise require 2 invocations (get + set).
* add a manpageDave Reisner2012-08-132-2/+75
|
* add shiesty runtests scriptDave Reisner2012-08-132-0/+54
|
* cleanup usage, make it clear what command args areDave Reisner2012-08-131-20/+20
|
* Merge remote-tracking branch 'vodik/cleanup'Dave Reisner2012-08-131-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 handlingSimon Gomizelj2012-08-131-7/+4
| |
| * make move take all its arguments explictlySimon Gomizelj2012-08-131-6/+8
| |
| * refactor main with a switchSimon Gomizelj2012-08-131-25/+31
| |
| * make kill take an explicit IDSimon Gomizelj2012-08-131-8/+13
| |
* | add missing static qualifier for do_verbDave Reisner2012-08-131-1/+1
|/
* move verb-based action into separate function, do_verbDave Reisner2012-08-131-46/+40
| | | | I'm so good at naming functions.
* return ints from getters for better exit statusDave Reisner2012-08-131-14/+23
|
* remove unneeded declarationDave Reisner2012-08-131-2/+1
|
* fold connection into pulse_initDave Reisner2012-08-131-20/+19
|
* die less. make a better effort to return.Dave Reisner2012-08-121-19/+37
|
* remove pa_mainloop_api from pulseaudio_tDave Reisner2012-08-121-6/+3
| | | | We don't need to carry this around on the pulse struct.
* s/get_(sinks|sources)/populate_\1/Dave Reisner2012-08-111-4/+4
|
* use switch/case for determining modeDave Reisner2012-08-111-12/+30
|
* separate control modes in usageDave Reisner2012-08-111-2/+4
|
* dedupe sink creation codeDave Reisner2012-08-111-38/+22
| | | | | A macro cleans this up nicely, since the info parameter passed to each *_new function is different.
* s/populate/&_levels/Dave Reisner2012-08-111-5/+5
| | | | give this function a clearer name
* clamp max volume more tightlyDave Reisner2012-08-111-3/+3
| | | | max via increase is capped at 100, max via set-volume to 150
* move operations into nested struct of sinkDave Reisner2012-08-111-28/+30
|
* fix the optstringSimon Gomizelj2012-08-111-1/+1
|
* add move actionSimon Gomizelj2012-08-111-2/+43
|
* change the default action based on modeSimon Gomizelj2012-08-111-2/+2
| | | | | - defaults for devices - list for applications
* organize usage messageSimon Gomizelj2012-08-111-2/+6
|
* add kill operationSimon Gomizelj2012-08-111-2/+30
|
* add a per-application modeSimon Gomizelj2012-08-111-26/+148
|
* remove dead codeDave Reisner2012-08-111-8/+0
|
* print effective volume after mute operationDave Reisner2012-08-111-2/+8
|
* tighten scoping on pulse server connectDave Reisner2012-08-111-4/+2
|
* add static qualifiers where neededDave Reisner2012-08-111-3/+3
|
* correct usage messageSimon Gomizelj2012-08-111-10/+10
|
* remove getters, unmute and muteSimon Gomizelj2012-08-111-24/+4
|