Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-12-18 | Initial support for printing available sources | Benjamin Franzke | 1 | -9/+68 | |
2011-12-18 | Rename sink{,_input}_info to sink{,input} | Benjamin Franzke | 1 | -8/+8 | |
2011-12-18 | Unify vol_ctl destruction paths | Benjamin Franzke | 1 | -26/+21 | |
2011-12-18 | Move interface related properties into new interface struct | Benjamin Franzke | 1 | -17/+19 | |
2011-12-18 | interface: Unify drawing code for sinks and inputs | Benjamin Franzke | 1 | -3/+16 | |
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-18 | set_max_name_len: Simplify code to two calls to one helper function | Benjamin Franzke | 1 | -0/+2 | |
2011-12-18 | Add volume_set to vol_ctl_object | Benjamin Franzke | 1 | -0/+2 | |
2011-12-18 | Add mute cb to vol_ctl_object | Benjamin Franzke | 1 | -0/+3 | |
2011-12-18 | Unify common sink(_input) properties to a base object | Benjamin Franzke | 1 | -14/+14 | |
2011-12-15 | Fix incorrect priority matching comparison | Benjamin Franzke | 1 | -1/+1 | |
2011-12-14 | Increase warning leaves, and fix new occured ones | Benjamin Franzke | 1 | -6/+7 | |
2011-12-14 | Cosmetic | Benjamin Franzke | 1 | -68/+63 | |
2011-12-14 | Remove unused change_callback | Benjamin Franzke | 1 | -12/+0 | |
2011-12-14 | Use g_list_find_custom to find sinks and inputs | Benjamin Franzke | 1 | -68/+58 | |
Used when updating or removing sinks or inputs. | |||||
2011-12-13 | Free old members when updating sinks/inputs | Benjamin Franzke | 1 | -4/+6 | |
2011-12-13 | sink_(input)_info_cb: Use interface_set_status to display errors | Benjamin Franzke | 1 | -5/+7 | |
2011-12-13 | Let interface_set_status use va args | Benjamin Franzke | 1 | -8/+4 | |
2011-12-13 | Add goto based error-path cleanup to main | Benjamin Franzke | 1 | -37/+44 | |
2011-12-13 | Quit mainloop in quit, so we quit even when we're disconnected | Benjamin Franzke | 1 | -1/+1 | |
2011-12-13 | Be a bit more verbose on connection error | Benjamin Franzke | 1 | -3/+5 | |
2011-12-13 | Quit when initial connection fails | Benjamin Franzke | 1 | -0/+1 | |
2011-12-13 | Output connection lost when context fails | Benjamin Franzke | 1 | -2/+1 | |
2011-12-13 | subscribe_cb: Check removed object to be known by us | Benjamin Franzke | 1 | -0/+4 | |
2011-12-13 | Fix some leaks | Benjamin Franzke | 1 | -5/+25 | |
2011-12-13 | interface: Rename print_sink_list to interface_redraw | Benjamin Franzke | 1 | -3/+3 | |
2011-12-13 | Add a list_foreach makro for GList | Benjamin Franzke | 1 | -12/+6 | |
Saves around 1-2 lines per foreach, and should be more error prone. | |||||
2011-12-13 | sink: Remove struct typedefs | Benjamin Franzke | 1 | -10/+10 | |
2011-12-13 | Add config property to select display name to use | Benjamin Franzke | 1 | -6/+17 | |
2011-12-12 | Use g_list_insert_sorted for sink priority | Benjamin Franzke | 1 | -14/+10 | |
2011-12-12 | Revert "Use g_list_find_custom to calculate sink position" | Benjamin Franzke | 1 | -8/+14 | |
This reverts commit 3898263f329e877d9b6a997d7a92851908d19166. | |||||
2011-12-12 | Use g_list_find_custom to calculate sink position | Benjamin Franzke | 1 | -14/+8 | |
The compare function matches against the configured sink priority. | |||||
2011-12-12 | Implement a priority based sink order assignment | Benjamin Franzke | 1 | -7/+43 | |
This is handsome when using udev based device discovery. | |||||
2011-10-31 | Dont show noentity errors | Benjamin Franzke | 1 | -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-22 | interface: Derive new chooser_input directly when moving | Benjamin Franzke | 1 | -7/+2 | |
Dont schedule this until redraw, since this needed hacks to ensure we got the update. | |||||
2011-10-22 | Add License header to source files | Benjamin Franzke | 1 | -0/+19 | |
2011-10-22 | Remove now invalid comments for the info callbacks | Benjamin Franzke | 1 | -6/+0 | |
2011-10-22 | Fix 80 column width | Benjamin Franzke | 1 | -16/+38 | |
2011-10-21 | Fix selection when moving an input around | Benjamin Franzke | 1 | -2/+7 | |
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-21 | Make use of gradual updates | Benjamin Franzke | 1 | -89/+123 | |
..to stop retreiving all sinks and inputs on every small change. | |||||
2011-10-21 | Store all input_infos in one big list | Benjamin Franzke | 1 | -16/+27 | |
This makes the lookup routines independent of each other, which allows gradual updates later. | |||||
2011-10-21 | pa-sink-ctl.h: Remove private functions | Benjamin Franzke | 1 | -85/+89 | |
This involves moving functions around in pa-sink-ctl.c so that we dont need to declare them additionally. | |||||
2011-10-21 | Fix ident mistakes introduces by previous mass changes | Benjamin Franzke | 1 | -35/+34 | |
Variables were substituted by sed, so indentation got messed up. | |||||
2011-10-21 | Stop using global variables. | Benjamin Franzke | 1 | -66/+65 | |
Rather store it in a context, thats used everywhere as parameter, or as userdata. | |||||
2011-10-21 | Merge sink.h and sink_input.h | Benjamin Franzke | 1 | -1/+0 | |
2011-10-21 | Use a GList instead of GArray for sinks. | Benjamin Franzke | 1 | -13/+32 | |
This lets us drop our ugly GArray wrappers sink.c and sink_input.c. It will make gradual updates of sinks easier, since elements can be added and dropped everywhere in the list easily. | |||||
2011-10-19 | interface: Rename status to interface_set_status | Benjamin Franzke | 1 | -7/+7 | |
2011-10-19 | Coding style: Seperate line for function return type | Benjamin Franzke | 1 | -8/+16 | |
2010-11-04 | get_input: only handle inputs, when context is ready | Benjamin Franzke | 1 | -0/+3 | |
2010-10-21 | get_sink_input_info: use pa_sink_info name attr as fallback | ben | 1 | -1/+3 | |
2010-07-23 | glib curses input-event added (replacement for g_timeout) | ben | 1 | -7/+0 | |