summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/sink.c
Commit message (Collapse)AuthorAgeFilesLines
* Add volume ramping feature - sink modificationmerge-queuezbt2009-08-051-1/+5
|
* alsa,core: include mapping name in description stringsLennart Poettering2009-06-181-15/+20
|
* core: be a bit more verbose when registering a sink/source failsLennart Poettering2009-06-181-0/+1
|
* alsa: rework mixer logicLennart Poettering2009-06-171-12/+132
| | | | | | | | | | | | Completely rework mixer logic. This now allows controlling a full set of elements from a single sink's volume slider/mute button. This also introduces sink and source "ports" that can be used to choose different input or output ports with the UI. (i.e. "mic"/"line-in" or "speaker"/"headphones". The mixer paths and device maps are now configered in external configuration files and can be tweaked as necessary.
* prop: introduce new PA_PROP_DEVICE_INTENDED_ROLES propertyLennart Poettering2009-06-081-0/+17
|
* core: replace tabs by spacesLennart Poettering2009-06-081-31/+31
|
* core: make sure soft mute status stays in sync with hw mute statusLennart Poettering2009-06-081-1/+5
| | | | | | This should close rhbz #494851, mandriva bz #51234. Probably the same as our own #572, launchpad #352732.
* optimization: Optimized pa_sink_render_full.Jyri Sarha2009-06-071-3/+2
| | | | This is finally the latest version of the patch.
* core: monitor sources need to inherit the suspend cause from their sinksLennart Poettering2009-06-061-2/+5
|
* core: suppress suspending/resume when we are already in the right stateLennart Poettering2009-06-061-0/+3
|
* 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
|