summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2020-02-15Print status using mvwaddstr instead of mvwprintwBenjamin Franzke1-1/+1
The status message may container printf-style modifiers which would cause an incorrect buffer to be accessed.
2020-02-15Drop invalid call to delscreen(NULL)Benjamin Franzke1-1/+0
Some descriptions said that delscreen frees resources from initscr (which we use) and newterm (which we do not use). Therefore we added delscreen(NULL) in 489e2955687bccb263e1ece3a1615b3356c990f2. It turs out that delscreen does only free resources from newterm and that the argument *sp *must* not be NULL. (Only due to some unreference comparisons this didn't fail in ncurses, but could fail with other curses implementations)
2013-02-20interface: Fix unused variable errorsBenjamin Franzke1-0/+2
Caused by some curses functions being macros
2012-02-27Add a manpage using asciidocBenjamin Franzke3-0/+108
2012-02-12command: Fix segfault when trying to mute a source outputBenjamin Franzke1-1/+1
2011-12-20Fix endless loop in slave_ctl_{prev,next}_ctlBenjamin Franzke1-2/+2
2011-12-20Fix indents and leading whitespaceBenjamin Franzke2-10/+10
2011-12-20interface: Add labels to the sink and source listsBenjamin Franzke1-1/+5
2011-12-20Get rid of chooser_main_ctl and chooser_childBenjamin Franzke5-137/+205
Use a current_ctl pointer in struct interface instead.
2011-12-19ctl.h: Fix typos in parametersBenjamin Franzke1-2/+2
2011-12-19interface: Dont allocate volumebar if length is to lessBenjamin Franzke1-0/+2
2011-12-19command: Check current ctl in down-commandBenjamin Franzke1-0/+6
2011-12-19command: Put main ctl length logic into interface.cBenjamin Franzke3-5/+13
2011-12-19command: Add a command describing a cast in up-commandBenjamin Franzke1-0/+1
2011-12-19Make main_ctl_childs_len a vol_ctl vfuncBenjamin Franzke3-15/+19
2011-12-19Rename sink.h to ctl.hBenjamin Franzke5-4/+4
2011-12-19Rename chooser_{sink,input} to chooser_{main_ctl,child}Benjamin Franzke3-34/+36
2011-12-19Implement "up" for both sink and source listBenjamin Franzke1-3/+6
2011-12-19Add support for switching recording sourcesBenjamin Franzke3-14/+30
2011-12-19Let sinks & sources and sink_inputs & source_outputs use same typesBenjamin Franzke4-106/+39
2011-12-19Implement "down" for both sink and source listBenjamin Franzke4-22/+80
2011-12-18Initial support for displaying source outputsBenjamin Franzke5-8/+89
2011-12-18Initial support for printing available sourcesBenjamin Franzke4-9/+83
2011-12-18Rename sink{,_input}_info to sink{,input}Benjamin Franzke4-20/+20
2011-12-18Unify vol_ctl destruction pathsBenjamin Franzke1-26/+21
2011-12-18Move interface related properties into new interface structBenjamin Franzke5-155/+171
2011-12-18interface: (cosmetic) Move resize and clear functions aroundBenjamin Franzke1-46/+46
2011-12-18interface: Use printf precision and padding for volume bar printingBenjamin Franzke2-14/+27
2011-12-18interface: getmaxx is not standard, use getmaxyx insteadBenjamin Franzke1-2/+3
2011-12-18interface: Stop keeping track of cursor position ourselfBenjamin Franzke2-21/+20
2011-12-18interface: Unify drawing code for sinks and inputsBenjamin Franzke4-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-18interface: Dont postfix spaces, always prefixBenjamin Franzke1-4/+4
This'll make it possible to have proper displaying when clamping ctx::max_name_len in future.
2011-12-18interface: print_volume can use vol_ctl parameter nowBenjamin Franzke1-5/+5
2011-12-18set_max_name_len: Simplify code to two calls to one helper functionBenjamin Franzke3-17/+21
2011-12-18command: Rename function do_mute to toggle_muteBenjamin Franzke1-2/+2
2011-12-18command: Minor cosmetic in volume_changeBenjamin Franzke1-4/+3
2011-12-18Finally move interface_get_current_ctl into interface.cBenjamin Franzke3-44/+47
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