Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-12-18 | interface: getmaxx is not standard, use getmaxyx instead | Benjamin Franzke | 1 | -2/+3 | |
2011-12-18 | interface: Stop keeping track of cursor position ourself | Benjamin Franzke | 2 | -21/+20 | |
2011-12-18 | interface: Unify drawing code for sinks and inputs | Benjamin Franzke | 4 | -75/+60 | |
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 | interface: Dont postfix spaces, always prefix | Benjamin Franzke | 1 | -4/+4 | |
This'll make it possible to have proper displaying when clamping ctx::max_name_len in future. | |||||
2011-12-18 | interface: print_volume can use vol_ctl parameter now | Benjamin Franzke | 1 | -5/+5 | |
2011-12-18 | set_max_name_len: Simplify code to two calls to one helper function | Benjamin Franzke | 3 | -17/+21 | |
2011-12-18 | command: Rename function do_mute to toggle_mute | Benjamin Franzke | 1 | -2/+2 | |
2011-12-18 | command: Minor cosmetic in volume_change | Benjamin Franzke | 1 | -4/+3 | |
2011-12-18 | Finally move interface_get_current_ctl into interface.c | Benjamin Franzke | 3 | -44/+47 | |
2011-12-18 | Make use of interface_get_current_ctl in switch_sink | Benjamin Franzke | 1 | -12/+18 | |
2011-12-18 | Rename vol_ctl_object to vol_ctl | Benjamin Franzke | 3 | -7/+7 | |
2011-12-18 | Add volume_set to vol_ctl_object | Benjamin Franzke | 3 | -40/+41 | |
2011-12-18 | Add mute cb to vol_ctl_object | Benjamin Franzke | 3 | -22/+26 | |
2011-12-18 | Unify common sink(_input) properties to a base object | Benjamin Franzke | 4 | -48/+51 | |
2011-12-15 | Fix incorrect priority matching comparison | Benjamin Franzke | 1 | -1/+1 | |
2011-12-15 | Rename config.ini to just config | Benjamin Franzke | 6 | -6/+5 | |
2011-12-14 | Increase warning leaves, and fix new occured ones | Benjamin Franzke | 6 | -24/+24 | |
2011-12-14 | Cosmetic | Benjamin Franzke | 1 | -68/+63 | |
2011-12-14 | Remove unused change_callback | Benjamin Franzke | 3 | -20/+3 | |
2011-12-14 | Use g_list_find_custom to find sinks and inputs | Benjamin Franzke | 2 | -69/+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 | 3 | -11/+12 | |
2011-12-13 | Add goto based error-path cleanup to main | Benjamin Franzke | 4 | -41/+51 | |
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 | Allow to quit with a non-ready context | Benjamin Franzke | 2 | -3/+15 | |
2011-12-13 | Fix some leaks | Benjamin Franzke | 4 | -7/+39 | |
2011-12-13 | interface: Rename print_sink_list to interface_redraw | Benjamin Franzke | 4 | -8/+9 | |
2011-12-13 | Add a list_foreach makro for GList | Benjamin Franzke | 4 | -40/+26 | |
Saves around 1-2 lines per foreach, and should be more error prone. | |||||
2011-12-13 | command: Assert when chooser input has unexpected value | Benjamin Franzke | 1 | -2/+8 | |
2011-12-13 | config: Read keymap from configuration file | Benjamin Franzke | 8 | -191/+386 | |
This needed a split of the switch that handled input before into several small callback functions. | |||||
2011-12-13 | sink: Remove struct typedefs | Benjamin Franzke | 3 | -30/+30 | |
2011-12-13 | Add config property to select display name to use | Benjamin Franzke | 6 | -10/+42 | |
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 | 2 | -14/+17 | |
This reverts commit 3898263f329e877d9b6a997d7a92851908d19166. | |||||
2011-12-12 | Use g_list_find_custom to calculate sink position | Benjamin Franzke | 2 | -17/+14 | |
The compare function matches against the configured sink priority. | |||||
2011-12-12 | Read config from config- not data-dirs | Benjamin Franzke | 1 | -7/+18 | |
glib provides no wrapper, so we have to loop ourselves over system and user dirs. | |||||
2011-12-12 | config: Add some more (generic) priority examples | Benjamin Franzke | 1 | -0/+11 | |
..and make them default. | |||||
2011-12-12 | Implement a priority based sink order assignment | Benjamin Franzke | 7 | -9/+189 | |
This is handsome when using udev based device discovery. | |||||
2011-12-05 | interface: Fix unitialized variable | Benjamin Franzke | 1 | -1/+1 | |
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 | 3 | -35/+18 | |
Dont schedule this until redraw, since this needed hacks to ensure we got the update. | |||||
2011-10-22 | interface: Dont move a sink_input if there is only one sink | Benjamin Franzke | 1 | -1/+4 | |
2011-10-22 | Release pa-sink-ctl v1v1 | Benjamin Franzke | 1 | -1/+1 | |
2011-10-22 | Remove empty ChangeLog | Benjamin Franzke | 1 | -0/+0 | |
2011-10-22 | Update README | Benjamin Franzke | 1 | -6/+14 | |