aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* add actions to set and get balanceSimon Gomizelj2012-08-111-0/+51
|
* replace set-sink with a generalized set-defaultSimon Gomizelj2012-08-111-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 defaultSimon Gomizelj2012-08-111-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 actionSimon Gomizelj2012-08-111-0/+7
|
* add [Muted] to muted devices when printingSimon Gomizelj2012-08-111-2/+3
|
* make the list action output sources tooSimon Gomizelj2012-08-111-0/+9
|
* add support to enumerate and operate on sourcesSimon Gomizelj2012-08-111-27/+103
|
* generalize printing devicesSimon Gomizelj2012-08-111-9/+12
|
* name and desc should be copied to avoid corruptionSimon Gomizelj2012-08-111-12/+10
|
* use function pointers to generatize operationsSimon Gomizelj2012-08-111-20/+26
|