summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/sink.c
Commit message (Collapse)AuthorAgeFilesLines
* core: add a suspend cause flags fieldLennart Poettering2009-06-051-3/+13
|
* core: automatically add icons for headsets/headphones/speakers for devicesLennart Poettering2009-05-131-0/+15
|
* core: Take samples from silence cache rather than write zerosJyri Sarha2009-05-091-10/+22
| | | | | | If the only stream to render from is muted take samples from the silence cache. This should shrink memory/cache bandwidth. Again the gain was not what I hoped for.
* core: optimize pa_sink_render_full()Jyri Sarha2009-05-081-5/+73
| | | | | I have used this fix for quite a while and I am pretty confident about it. However, the performance gain was not what I expected.
* core: liberalize 99a6a4 a bitLennart Poettering2009-05-081-6/+10
| | | | | | While flags should generally be initialized by passing them to pa_{sink|source}_new() we make an exception for the volume related flags which may be initilized afterwards, but before _put().
* core: cache requested latency only when we are running, not while we are ↵Lennart Poettering2009-05-081-2/+5
| | | | still constructing
* core: make sure we fix up flags/monitor flags already in pa_sink_new() ↵Lennart Poettering2009-05-081-22/+17
| | | | instead of pa_sink_put()
* core: introduce pa_{sink,source}_set_fixed_latency()Lennart Poettering2009-05-081-0/+16
| | | | | This allows us to forward the fixed latency directly from the sink to the monitor source withut having to wait for pa_sink_put().
* 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
|