aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* denote that "defaults" is the default commandDave Reisner2012-09-271-1/+1
|
* use the full field initializer for argDave Reisner2012-09-181-1/+1
|
* add check for mode to action_tSimon Gomizelj2012-09-181-19/+23
|
* collect state and arguments, restructureSimon Gomizelj2012-09-181-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 implementationSimon Gomizelj2012-09-181-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_tSimon Gomizelj2012-09-121-21/+26
|
* stop stuffing things in globalsSimon Gomizelj2012-09-121-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/bugfixesDave Reisner2012-09-061-1/+6
|\ | | | | Bugfixes
| * increase shouldn't ever lower volumeSimon Gomizelj2012-08-231-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 backwardsSimon Gomizelj2012-08-231-1/+1
| |
* | use LDLIBS for added library depsDave Reisner2012-08-211-1/+1
|/
* expand color spectrumDave Reisner2012-08-151-6/+29
|
* fix invalid memory accessDave Reisner2012-08-141-1/+1
|
* colorize pretty printed outputSimon Gomizelj2012-08-141-5/+50
| | | | | | | | | | | | | | | | | | | | | .,,. ,;;*;;;;, .-'``;-');;. /' .-. /*;; .' \d \;; .;;;, / o ` \; ,__. ,;*;;;*;, \__, _.__,' \_.-') __)--.;;;;;*;;;;, `""`;;;\ /-')_) __) `\' ';;;;;; ;*;;; -') `)_) |\ | ;;;;*; ;;;;| `---` O | | ;;*;;; *;*;\| O / ;;;;;* ;;;;;/| .-------\ / ;*;;;;; ;;;*;/ \ | '. (`. ;;;*;;; ;;;;;'. ; | ) \ | ;;;;;; ,;*;;;;\/ |. / /` | ';;;*; ;;;;;;/ |/ / /__/ ';;; '*jgs/ | / | ;*; `""""` `""""` ;'
* fix (null) string on unknown actionDave Reisner2012-08-141-1/+1
|
* 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.