summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/sink-input.c
Commit message (Collapse)AuthorAgeFilesLines
* alsa: rework mixer logicLennart Poettering2009-06-171-5/+5
| | | | | | | | | | | | 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.
* core: make sure we fix up flags/monitor flags already in pa_sink_new() ↵Lennart Poettering2009-05-081-1/+1
| | | | instead of pa_sink_put()
* core: use pa_{source|sink}_get_latency_within_thread() at one more placeLennart Poettering2009-04-141-4/+1
|
* core: introduce new 'reference' volume for sinksLennart Poettering2009-04-131-24/+31
| | | | | | | | | | | | | | | 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-4/+9
|
* core: memory leak, fix ref counting when moving streamsLennart Poettering2009-04-101-5/+15
|
* introduce relative_volume field in sink_input and make use of it on sink ↵Lennart Poettering2009-04-081-13/+43
| | | | flat volume change
* add suspend_within_thread() callbacks to pa_sink_input/pa_source_outputLennart Poettering2009-04-071-0/+1
|
* properly account for seeks in the requested_bytes counterLennart Poettering2009-04-011-2/+2
|
* pass destination source/sink when moving streams so that we can access themLennart Poettering2009-04-011-1/+1
|
* don't access i->sink if it is not setLennart Poettering2009-04-011-3/+5
|
* simplify latency config functions a bit and make them callable in more contextsLennart Poettering2009-03-301-30/+25
|
* Trigger move callback a little bit earlier so that no IO thread is runningLennart Poettering2009-03-301-5/+4
|
* introduce pa_sink_input_get_relative_volume()Lennart Poettering2009-03-201-0/+22
|
* Use LGPL 2.1 on all files previously using LGPL 2Colin Guthrie2009-03-031-1/+1
|
* try to vacuum a little when nothing is going onLennart Poettering2009-02-251-0/+2
|
* make sure we check the sink status for PA_SINK_INPUT_FAIL_ON_SUSPEND only ↵Lennart Poettering2009-02-241-1/+6
| | | | after module-suspend-on-idle had the chance to resume the device
* Allow passing a NULL proplist to pa_xxxx_update_proplist() to just fire a ↵Lennart Poettering2009-02-221-2/+2
| | | | notification
* allow sending meta/policy events to clientsLennart Poettering2009-02-121-0/+29
|
* make return value of pa_{sink_input|source_output}_update_proplist() voidLennart Poettering2009-02-051-10/+8
|
* handle default volume initialization properlyLennart Poettering2009-02-051-1/+4
|
* add a 'volume factor' that is implicitly multiplied into the volume of a ↵Lennart Poettering2009-02-051-5/+22
| | | | sink input without being visible to the outside
* remove soft volume from pa_sink_input_new_info since it should be handled ↵Lennart Poettering2009-02-041-39/+27
| | | | internally and automatically by the sink input
* merge in properties earlier to make identification of streams from hooks easierLennart Poettering2009-02-041-3/+3
|
* when moving a sink between sinks make volume relativeLennart Poettering2009-02-031-2/+14
|
* make a couple of functions return proper error codesLennart Poettering2009-02-031-43/+47
|
* make a few functions return void where the retval isn't used/never != 0Lennart Poettering2009-02-031-10/+3
|
* implement PA_STREAM_FAIL_ON_SUSPEND logicLennart Poettering2009-02-031-1/+5
|
* when changing volume, store whether it is worth remembering or noLennart Poettering2009-01-271-6/+16
|
* move flat volume logic into the core. while doing so add n_volume_steps ↵Lennart Poettering2009-01-271-45/+111
| | | | field to sinks/sources
* invert an ill-placed assertLennart Poettering2009-01-271-1/+1
|
* store requested resampling method in a seperate field and use it when create ↵Lennart Poettering2009-01-271-5/+4
| | | | a new resampler after a move
* move sink input/source output move functions into two parts so that we can ↵Lennart Poettering2009-01-231-44/+96
| | | | start the move, delete the original sink, create a new sink, finish the move; similar for source outputs
* in most cases we can use i->core instead of i->sink->core and o->coure ↵Lennart Poettering2009-01-231-20/+20
| | | | instead of o->source->core
* don't include full path in driver name.Lennart Poettering2009-01-221-1/+2
|
* make proplist inheritance scheme automatic and implicitLennart Poettering2009-01-151-0/+3
|
* kill autoload stuff as plannedLennart Poettering2009-01-151-1/+1
|
* maintain a list of sink inputs/source outputs as part of the pa_client objectLennart Poettering2009-01-151-0/+6
|
* add new dont_rewind_render flag to allow quick starts of newly created streamsLennart Poettering2009-01-151-7/+16
|
* core: add source, si, so proplist_updateMarc-André Lureau2009-01-131-0/+15
|
* make sure we don't hit an assert when we issue two rewind requests in aLennart Poettering2008-12-211-17/+25
| | | | | | single iteration Closes rhbz 472757.
* Don't hit an assert when checking for idlenessLennart Poettering2008-12-171-2/+6
| | | | Closes #398
* add new virtual function may_move_to to sink inputs/source outputs to allow ↵Lennart Poettering2008-10-211-11/+31
| | | | modules to forbid certain connections
* fix invalid validity checkLennart Poettering2008-10-211-2/+2
|
* add a comment that pa_sink_input_set_volume and module-flat-volume.c are relatedLennart Poettering2008-10-081-0/+4
|
* if the channel map was modified due to PA_SINK_INPUT_FIX_CHANNELS, remap the ↵Lennart Poettering2008-10-071-2/+3
| | | | specified volume properly
* use pa_channel_map_init_extend() instead of pa_channel_map_init_auto() as ↵Lennart Poettering2008-10-071-1/+1
| | | | channel map for sink inputs/source outputs in case no map is specified
* modernize a few checksLennart Poettering2008-10-071-3/+6
|
* when the volume is changed make sure we send out a subscription eventLennart Poettering2008-10-071-4/+2
|
* instead of resetting virtual_volume unconditionally on initialization, do so ↵Lennart Poettering2008-10-071-2/+5
| | | | only when no volume was set before