summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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
2011-10-21Use a GList instead of GArray for sinks.Benjamin Franzke7-147/+84
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-21interface: Cache some boolean expressionsBenjamin Franzke1-4/+8
2011-10-21signalfd: Read out received signalsBenjamin Franzke1-0/+11
2011-10-20Use signalfd if availableBenjamin Franzke3-3/+40
If kqueue can be added as well, our homegrown kinda ugly signal dispatcher could be killed.
2011-10-20g_unix_signal: Remove g_ prefix to not collide with glibBenjamin Franzke5-39/+43
There is a g_unix_signal_new function in glib as well now, but that is only allowed to be used for SIGINT, SIGHUP and SIGTERM, so we have to stay with our own.
2011-10-20Kill off g_curses_inputBenjamin Franzke4-101/+13
Use a g_io_channel that listens to STDIN_FILENO instead.
2011-10-19interface_set_status: Rename "save" to "status"Benjamin Franzke1-5/+6
2011-10-19interface: Add defines for special chooser_input statesBenjamin Franzke1-13/+16
2011-10-19g_curses_input: Fix coding styleBenjamin Franzke2-9/+19
2011-10-19Makefile.am: Use variables rather then substitutionsBenjamin Franzke1-2/+3
Also set preprocessor flags in AM_CPPFLAGS
2011-10-19glib mainloop wrappers: Add missing includes for own prototypesBenjamin Franzke2-0/+2
2011-10-19Define gcc specific flags in configureBenjamin Franzke1-1/+1
2011-10-19g_unix_signal: Fix coding styleBenjamin Franzke1-8/+21
2011-10-19interface: Rename status to interface_set_statusBenjamin Franzke3-10/+10
2011-10-19interface.h: Remove private function prototypesBenjamin Franzke2-105/+99
Therefore reorder function definitions in interface.c.
2011-10-19Coding style: Seperate line for function return typeBenjamin Franzke6-40/+81
2011-10-19interface: Rename get_input to interface_get_inputBenjamin Franzke2-3/+4
2011-02-23Add glib helper headers to Makefile.amBenjamin Franzke1-1/+1
2011-02-08Fix: output formatingyounix1-2/+3
- max_name_len(): add indentation space - add space between volume bar and border
2011-02-08Dynamic growing volume bar.younix1-4/+5
Get the current window width and calculate the volume bar width.
2011-02-08Printing full name length.younix2-7/+48
Adding function to find out the longest name of all SINK's and INPUT's. Inserting indentations in amount of this max. length.
2010-11-04Merge branch 'master' of gitorious.org:pa-sink-ctl/pa-sink-ctlyounix2-0/+7
2010-11-04add commentyounix1-3/+3
2010-11-04get_input: only handle inputs, when context is readyBenjamin Franzke2-0/+7
2010-10-21get_sink_input_info: use pa_sink_info name attr as fallbackben1-1/+3
2010-10-21status: fix pointer to be constben2-2/+2
2010-07-23replace gramatically incorrect "signal_infos" with "signal_data"ben1-29/+29
2010-07-23configure.ac: use AC_MSG_ERROR and add sigaction() checkben1-11/+17
2010-07-23glib curses input-event added (replacement for g_timeout)ben6-17/+88
2010-07-23unix SIGWNICH signal wrapped as glib signal sourceben5-24/+132
2010-07-23move sink_list var to sink.c (included from sink.h)ben4-6/+8
other c-files than sink.c get the extern definition via sink.h, only sink.c receives the non-extern one
2010-07-23height,width made local vars + abit syntax cleanupben1-14/+14
2010-07-23add wasd + tab + x keymapping for left hand ctrlben1-0/+7
2010-07-23use blocked instead of pending var name for syncben2-8/+8
2010-07-23use sigaction instead of signalben1-12/+5
2010-07-23change (global) variable visibility (ie be static)ben2-15/+15
2010-07-23increase exit smoothness + add some g_assertsben1-1/+7
2010-07-23remove old outcommented printfsben1-5/+2
2010-07-23fit autotools config to actual changes and improveben1-2/+2
2010-07-23use g_printerr instead of printf for errorsben1-7/+8
2010-07-23add status function, and display connection stateben3-13/+35
2010-07-23smoothly exit now (pulse con & glib loop explicit)ben2-11/+11
2010-07-23sink_list_tmp as userdata instead of global nowben1-5/+6