summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2011-12-18Make use of interface_get_current_ctl in switch_sinkBenjamin Franzke1-12/+18
2011-12-18Rename vol_ctl_object to vol_ctlBenjamin Franzke3-7/+7
2011-12-18Add volume_set to vol_ctl_objectBenjamin Franzke3-40/+41
2011-12-18Add mute cb to vol_ctl_objectBenjamin Franzke3-22/+26
2011-12-18Unify common sink(_input) properties to a base objectBenjamin Franzke4-48/+51
2011-12-15Fix incorrect priority matching comparisonBenjamin Franzke1-1/+1
2011-12-15Rename config.ini to just configBenjamin Franzke3-48/+1
2011-12-14Increase warning leaves, and fix new occured onesBenjamin Franzke5-23/+23
2011-12-14CosmeticBenjamin Franzke1-68/+63
2011-12-14Remove unused change_callbackBenjamin Franzke3-20/+3
2011-12-14Use g_list_find_custom to find sinks and inputsBenjamin Franzke2-69/+58
Used when updating or removing sinks or inputs.
2011-12-13Free old members when updating sinks/inputsBenjamin Franzke1-4/+6
2011-12-13sink_(input)_info_cb: Use interface_set_status to display errorsBenjamin Franzke1-5/+7
2011-12-13Let interface_set_status use va argsBenjamin Franzke3-11/+12
2011-12-13Add goto based error-path cleanup to mainBenjamin Franzke4-41/+51
2011-12-13Quit mainloop in quit, so we quit even when we're disconnectedBenjamin Franzke1-1/+1
2011-12-13Be a bit more verbose on connection errorBenjamin Franzke1-3/+5
2011-12-13Quit when initial connection failsBenjamin Franzke1-0/+1
2011-12-13Output connection lost when context failsBenjamin Franzke1-2/+1
2011-12-13subscribe_cb: Check removed object to be known by usBenjamin Franzke1-0/+4
2011-12-13Allow to quit with a non-ready contextBenjamin Franzke2-3/+15
2011-12-13Fix some leaksBenjamin Franzke3-6/+38
2011-12-13interface: Rename print_sink_list to interface_redrawBenjamin Franzke4-8/+9
2011-12-13Add a list_foreach makro for GListBenjamin Franzke4-40/+26
Saves around 1-2 lines per foreach, and should be more error prone.
2011-12-13command: Assert when chooser input has unexpected valueBenjamin Franzke1-2/+8
2011-12-13config: Read keymap from configuration fileBenjamin Franzke8-191/+386
This needed a split of the switch that handled input before into several small callback functions.
2011-12-13sink: Remove struct typedefsBenjamin Franzke3-30/+30
2011-12-13Add config property to select display name to useBenjamin Franzke6-10/+42
2011-12-12Use g_list_insert_sorted for sink priorityBenjamin Franzke1-14/+10
2011-12-12Revert "Use g_list_find_custom to calculate sink position"Benjamin Franzke2-14/+17
This reverts commit 3898263f329e877d9b6a997d7a92851908d19166.
2011-12-12Use g_list_find_custom to calculate sink positionBenjamin Franzke2-17/+14
The compare function matches against the configured sink priority.
2011-12-12Read config from config- not data-dirsBenjamin Franzke1-7/+18
glib provides no wrapper, so we have to loop ourselves over system and user dirs.
2011-12-12config: Add some more (generic) priority examplesBenjamin Franzke1-0/+11
..and make them default.
2011-12-12Implement a priority based sink order assignmentBenjamin Franzke7-9/+189
This is handsome when using udev based device discovery.
2011-12-05interface: Fix unitialized variableBenjamin Franzke1-1/+1
2011-10-31Dont show noentity errorsBenjamin Franzke1-0/+4
They happen from time to time, i guess when an entity goes away but we request some updates for it, since we didnt got the remove event yet. Thats a usual case in asynchronous communication.
2011-10-22interface: Derive new chooser_input directly when movingBenjamin Franzke3-35/+18
Dont schedule this until redraw, since this needed hacks to ensure we got the update.
2011-10-22interface: Dont move a sink_input if there is only one sinkBenjamin Franzke1-1/+4
2011-10-22Add License header to source filesBenjamin Franzke7-0/+131
2011-10-22Remove now invalid comments for the info callbacksBenjamin Franzke1-6/+0
2011-10-22Fix 80 column widthBenjamin Franzke3-47/+97
2011-10-21Fix selection when moving an input aroundBenjamin Franzke3-2/+9
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-21interface: Calculate offsets less oftenBenjamin Franzke1-17/+15
2011-10-21Make use of gradual updatesBenjamin Franzke2-93/+123
..to stop retreiving all sinks and inputs on every small change.
2011-10-21Store all input_infos in one big listBenjamin Franzke4-37/+85
This makes the lookup routines independent of each other, which allows gradual updates later.
2011-10-21pa-sink-ctl.h: Remove private functionsBenjamin Franzke2-94/+89
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 Franzke4-164/+172
Variables were substituted by sed, so indentation got messed up.
2011-10-21Stop using global variables.Benjamin Franzke4-204/+219
Rather store it in a context, thats used everywhere as parameter, or as userdata.
2011-10-21interface: Stop the use of ugly tmp structuresBenjamin Franzke1-40/+28
2011-10-21Merge sink.h and sink_input.hBenjamin Franzke4-21/+11