summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/sink.c
Commit message (Collapse)AuthorAgeFilesLines
* core: introduce new 'reference' volume for sinksLennart Poettering2009-04-131-16/+26
| | | | | | | | | | | | | | | The reference volume is to be used as reference volume for stored stream volumes. Previously if a new stream was created the relative volume was taken relatively to the virtual device volume. Due to the flat volume logic this could then be fed back to the virtual device volume. Repeating the whole story over and over would result in a device volume that would go lower, and lower and lower. This patch introduces a 'reference' volume for each sink which stays unmodified by stream volume changes even if flat volumes are used. It is only modified if the sink volumes are modified directly by the user. For further explanations see http://pulseaudio.org/wiki/InternalVolumes
* core: add a seperate fixed_latency field for sinks/sources with fixed latencyLennart Poettering2009-04-101-8/+17
|
* core: memory leak, fix ref counting when moving streamsLennart Poettering2009-04-101-1/+5
|
* introduce relative_volume field in sink_input and make use of it on sink ↵Lennart Poettering2009-04-081-30/+29
| | | | flat volume change
* after propagating a sink volume change to the sink inputs recalculate their ↵Lennart Poettering2009-04-071-25/+54
| | | | soft volumes
* we need to make our multiplications with linear valuesLennart Poettering2009-04-071-10/+10
|
* reduce number of conversions to/from linear volumesLennart Poettering2009-04-071-2/+13
|
* If the sink volume is lowered to 0 and then increased again, make sure all ↵Lennart Poettering2009-04-071-2/+6
| | | | stream volumes follow instead of staying at 0
* add suspend_within_thread() callbacks to pa_sink_input/pa_source_outputLennart Poettering2009-04-071-1/+15
|
* introduce pa_{sink|source}_get_latency_within_thread()Lennart Poettering2009-04-051-0/+26
|
* Use pa_source_set_max_rewind_within_thread() for updating the monitor ↵Lennart Poettering2009-03-301-1/+1
| | | | source's max_rewind
* copy latency flags from sink to monitor sourceLennart Poettering2009-03-251-1/+7
|
* simplify things and make sure timing setters can be called in most contextsLennart Poettering2009-03-251-18/+17
|
* introduce new flag that marks sinks/sources which can adjust the latency ↵Lennart Poettering2009-03-251-0/+10
| | | | dynamically
* get rid of 'default' min/max latencies, simplify things by just having ↵Lennart Poettering2009-03-251-11/+4
| | | | absolute boundaries
* Allow calling pa_{sink|source}_update_proplist() without an actual proprlistLennart Poettering2009-03-241-3/+2
|
* set request/rewind sizes only via accessor functionsLennart Poettering2009-03-241-2/+32
|
* simplify latency range by not allowing stored 'wildcard' ranges anymoreLennart Poettering2009-03-241-12/+19
|
* add functions that modules can call whenever they now the volume changedLennart Poettering2009-03-211-0/+26
|
* deduce a proper icon for TV setsLennart Poettering2009-03-191-0/+2
|
* try more things to get a proper icon for sinks/sourcesLennart Poettering2009-03-041-1/+14
|
* fix handling of _suspend_all(), return first failure error codeLennart Poettering2009-03-041-2/+6
|
* make suspend state of monitor source follow the suspend state of the sink it ↵Lennart Poettering2009-03-041-0/+3
| | | | belongs to
* document more closely from which context certain functions may be calledLennart Poettering2009-03-041-3/+5
|
* Use LGPL 2.1 on all files previously using LGPL 2Colin Guthrie2009-03-031-1/+1
|
* add logic for initializing a useful icon nameLennart Poettering2009-03-011-0/+69
|
* additional validity checkLennart Poettering2009-02-191-0/+3
|
* call _kill functions instead of _unlink since the latter should only be ↵Lennart Poettering2009-02-121-2/+2
| | | | called be the stream implementor
* Merge commit 'elmarco/bt-wip'Lennart Poettering2009-02-121-2/+4
|\
| * pulsecore: add PA_CORE_HOOK_*_MOVE_FAILMarc-André Lureau2009-02-111-2/+4
| | | | | | | | | | | | In case pa_*_move_all_fail(), it is nicer to let a module override the default behavior to fallback on a different sink/source. (instead of unlinking the sink_input/source_output)
* | add a 'volume factor' that is implicitly multiplied into the volume of a ↵Lennart Poettering2009-02-051-0/+1
|/ | | | sink input without being visible to the outside
* make a few functions return void where the retval isn't used/never != 0Lennart Poettering2009-02-031-2/+1
|
* implement PA_STREAM_FAIL_ON_SUSPEND logicLennart Poettering2009-02-031-6/+9
|
* fix soft_mute handlingLennart Poettering2009-02-021-1/+1
|
* reset rewind_requested when we enter suspend modeLennart Poettering2009-02-021-0/+4
|
* shortcut pa_sink_process_rewind() when no rewind is happenning and none was ↵Lennart Poettering2009-02-021-0/+5
| | | | requested
* Fix a few sink/source calls when they are called in suspended state.Lennart Poettering2009-02-021-10/+28
|
* when determining the minimum volume of all sink inputs make sure to handle ↵Lennart Poettering2009-02-021-0/+13
| | | | the case when there are no sink inputs correctly
* dump properties when we create a new sink or sourceLennart Poettering2009-01-301-2/+6
|
* when changing volume, store whether it is worth remembering or noLennart Poettering2009-01-271-2/+2
|
* move flat volume logic into the core. while doing so add n_volume_steps ↵Lennart Poettering2009-01-271-61/+196
| | | | field to sinks/sources
* add functions to move all inputs of a sink away/similar for source outputsLennart Poettering2009-01-231-0/+52
|
* don't include full path in driver name.Lennart Poettering2009-01-221-1/+2
|
* sink: trigger subscribe event on sink state changeMarc-André Lureau2009-01-201-1/+3
|
* make proplist inheritance scheme automatic and implicitLennart Poettering2009-01-151-0/+3
|
* Merge commit 'e0f8ffe41f99789fafac575e944acf02e940bbf7'Lennart Poettering2009-01-151-8/+14
|\
| * sink: add a virtual_volume to sinkMarc-André Lureau2009-01-141-8/+14
| |
* | add new pa_card object as a way to logically combine multiple sinks and sourcesLennart Poettering2009-01-151-0/+8
| |
* | don't rely on PA_SINK_RUNNING vs. PA_SINK_IDLE for optimizations since it ↵Lennart Poettering2009-01-151-6/+4
|/ | | | might not be fully up to date
* core: add source, si, so proplist_updateMarc-André Lureau2009-01-131-0/+1
|