summaryrefslogtreecommitdiff
path: root/src/pa-sink-ctl.h
AgeCommit message (Collapse)AuthorFilesLines
2011-12-18interface: Use printf precision and padding for volume bar printingBenjamin Franzke1-0/+2
2011-12-18interface: Stop keeping track of cursor position ourselfBenjamin Franzke1-1/+0
2011-12-18interface: Unify drawing code for sinks and inputsBenjamin Franzke1-0/+1
They are drawn from the same function that calls itself recursiveley for childs of the currently drawn volume control. So its called for all sink_inputs that belong to a sink.
2011-12-14Remove unused change_callbackBenjamin Franzke1-3/+0
2011-12-13Add goto based error-path cleanup to mainBenjamin Franzke1-0/+1
2011-12-13Add a list_foreach makro for GListBenjamin Franzke1-0/+3
Saves around 1-2 lines per foreach, and should be more error prone.
2011-12-12Revert "Use g_list_find_custom to calculate sink position"Benjamin Franzke1-6/+3
This reverts commit 3898263f329e877d9b6a997d7a92851908d19166.
2011-12-12Use g_list_find_custom to calculate sink positionBenjamin Franzke1-3/+6
The compare function matches against the configured sink priority.
2011-12-12Implement a priority based sink order assignmentBenjamin Franzke1-0/+10
This is handsome when using udev based device discovery.
2011-10-22interface: Derive new chooser_input directly when movingBenjamin Franzke1-2/+0
Dont schedule this until redraw, since this needed hacks to ensure we got the update.
2011-10-22Add License header to source filesBenjamin Franzke1-0/+19
2011-10-21Fix selection when moving an input aroundBenjamin Franzke1-0/+1
We may not get the update for the moved index immediately, but we calculate the new position for the selection on redraw. So schedule redraw until we get the update, when we move around.
2011-10-21Make use of gradual updatesBenjamin Franzke1-4/+0
..to stop retreiving all sinks and inputs on every small change.
2011-10-21Store all input_infos in one big listBenjamin Franzke1-1/+3
This makes the lookup routines independent of each other, which allows gradual updates later.
2011-10-21pa-sink-ctl.h: Remove private functionsBenjamin Franzke1-9/+0
This involves moving functions around in pa-sink-ctl.c so that we dont need to declare them additionally.
2011-10-21Fix ident mistakes introduces by previous mass changesBenjamin Franzke1-7/+14
Variables were substituted by sed, so indentation got messed up.
2011-10-21Stop using global variables.Benjamin Franzke1-2/+33
Rather store it in a context, thats used everywhere as parameter, or as userdata.
2010-07-22glib-ify datatype, functions etc + header cleanupben1-16/+6
2010-07-21be a bit more type-safe (integer types cleanup)ben1-5/+0
2010-07-15replace own VOLUME_MAX def with PA_VOLUME_NORM defben1-2/+5
2010-07-12wip: bugfix: interfaceJan Klemkow1-0/+2
2010-07-12move sources to src/ben1-0/+25