summaryrefslogtreecommitdiff
path: root/src/pa-sink-ctl.c
AgeCommit message (Collapse)AuthorFilesLines
2011-10-22Add License header to source filesBenjamin Franzke1-0/+19
2011-10-22Remove now invalid comments for the info callbacksBenjamin Franzke1-6/+0
2011-10-22Fix 80 column widthBenjamin Franzke1-16/+38
2011-10-21Fix selection when moving an input aroundBenjamin Franzke1-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-21Make use of gradual updatesBenjamin Franzke1-89/+123
..to stop retreiving all sinks and inputs on every small change.
2011-10-21Store all input_infos in one big listBenjamin Franzke1-16/+27
This makes the lookup routines independent of each other, which allows gradual updates later.
2011-10-21pa-sink-ctl.h: Remove private functionsBenjamin Franzke1-85/+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 Franzke1-35/+34
Variables were substituted by sed, so indentation got messed up.
2011-10-21Stop using global variables.Benjamin Franzke1-66/+65
Rather store it in a context, thats used everywhere as parameter, or as userdata.
2011-10-21Merge sink.h and sink_input.hBenjamin Franzke1-1/+0
2011-10-21Use a GList instead of GArray for sinks.Benjamin Franzke1-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-19interface: Rename status to interface_set_statusBenjamin Franzke1-7/+7
2011-10-19Coding style: Seperate line for function return typeBenjamin Franzke1-8/+16
2010-11-04get_input: only handle inputs, when context is readyBenjamin Franzke1-0/+3
2010-10-21get_sink_input_info: use pa_sink_info name attr as fallbackben1-1/+3
2010-07-23glib curses input-event added (replacement for g_timeout)ben1-7/+0
2010-07-23move sink_list var to sink.c (included from sink.h)ben1-2/+0
other c-files than sink.c get the extern definition via sink.h, only sink.c receives the non-extern one
2010-07-23use blocked instead of pending var name for syncben1-4/+4
2010-07-23change (global) variable visibility (ie be static)ben1-5/+5
2010-07-23increase exit smoothness + add some g_assertsben1-1/+7
2010-07-23remove old outcommented printfsben1-5/+2
2010-07-23use g_printerr instead of printf for errorsben1-7/+8
2010-07-23add status function, and display connection stateben1-5/+16
2010-07-23smoothly exit now (pulse con & glib loop explicit)ben1-10/+11
2010-07-23sink_list_tmp as userdata instead of global nowben1-5/+6
2010-07-22glib-ify datatype, functions etc + header cleanupben1-33/+17
2010-07-19change_callback shouldnt printas infos are not uptodateben1-1/+1
2010-07-19state changes(new input etc) recognized at runtime automaticallyben1-15/+44
2010-07-15use easier sink_*_get() instead of g_array_indexben1-1/+1
2010-07-15replace own VOLUME_MAX def with PA_VOLUME_NORM defben1-1/+0
2010-07-15syntax cleanupben1-11/+12
2010-07-15replace sink_input_list implementation with GArrayben1-22/+12
2010-07-15replace own sink-list implementation with GArrayben1-30/+26
2010-07-14replace pulseaudio's mainloop with glib-mainloopben1-13/+25
2010-07-13code cleanupJan Klemkow1-19/+1
2010-07-13display name instead of device when device prop is not availableben1-1/+2
2010-07-13Merge branch 'master' of gitorious.org:pa-sink-ctl/pa-sink-ctlben1-0/+2
2010-07-13add mute support for sinks and inputsben1-0/+1
2010-07-13change sink-name to sink-deviceJan Klemkow1-0/+2
sink-device is the name of the device
2010-07-13add volume output for sinksben1-0/+2
2010-07-13sink_inputs volume made changableben1-0/+1
2010-07-13fix reallocs that saved pointer only in local varsben1-1/+1
2010-07-12fix: some problemsJan Klemkow1-3/+2
2010-07-12pulseaudio connection: just use NULL as server strben1-1/+1
things like $PULSE_SERVER are respected now see ENVIRONMENT VARIABLES in pulseaudio(1)
2010-07-12wip: bugfix: interfaceJan Klemkow1-11/+7
2010-07-12move sources to src/ben1-0/+195