summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/sink.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* core: add pa_sink_update_proplistMarc-André Lureau2009-01-131-0/+14
|
* Rework handling of the PA_SINK_LATENCY/PA_SOURCE_LATENCY flagsLennart Poettering2008-12-241-3/+8
|
* Add "base volume" field to sinks/sourcesLennart Poettering2008-12-241-0/+1
|
* Don't hit an assert when checking for idlenessLennart Poettering2008-12-171-1/+3
| | | | Closes #398
* Implement new flags DONT_INHIBIT_AUTO_SUSPEND and START_UNMUTEDLennart Poettering2008-10-261-1/+33
|
* after calling PA_CORE_HOOK_SINK_SET_VOLUME hook, check again whether the ↵Lennart Poettering2008-10-071-2/+6
| | | | volume changed
* additional validity checksLennart Poettering2008-10-071-0/+2
|
* volume hooksMarc-Andre Lureau2008-10-071-2/+10
| | | | Signed-off-by: Lennart Poettering <lennart@poettering.net>
* remove useless log message, re #367Lennart Poettering2008-10-011-1/+0
|
* fix up latency before calling into stream code, to make sure we don't ask ↵Lennart Poettering2008-08-291-5/+11
| | | | for too much data to early
* rework volume/mute APIs: split out pa_xx_set_soft_volume() and add ↵Lennart Poettering2008-08-131-5/+16
| | | | force_refresh argument to read functions
* don't break if we fail to resume access to an audio deviceLennart Poettering2008-07-231-4/+13
|
* fix crash when using sync'ed streamsLennart Poettering2008-06-271-2/+2
|
* make sure to call process_rewind() under all circumstances before we do the ↵Lennart Poettering2008-06-261-18/+24
| | | | next loop iteration
* execute detach callback before we change the state to UNLINKEDLennart Poettering2008-06-211-2/+2
|
* allow sinks to be created with max_request initialized to 0, so that the ↵Lennart Poettering2008-06-211-1/+0
| | | | data can be filled in later when attaching to some piggybacked sink
* Rework module-combine to work with glitch-free core; add new max_request ↵Lennart Poettering2008-06-201-60/+226
| | | | field to pa_sink
* get rid of svn $ keywordsLennart Poettering2008-06-181-2/+0
|
* fix a bad memory access pulsecore/client.cLennart Poettering2008-06-131-18/+51
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2527 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix daemon shutdown with active monitor streamsLennart Poettering2008-05-181-1/+0
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2469 fefdeb5f-60dc-0310-8127-8f9354f1896f
* link latency of monitor source to sinkLennart Poettering2008-05-171-0/+34
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2457 fefdeb5f-60dc-0310-8127-8f9354f1896f
* merge glitch-free branch back into trunkLennart Poettering2008-05-151-250/+486
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2445 fefdeb5f-60dc-0310-8127-8f9354f1896f
* deal with a possibly failing pa_channel_map_init_auto() correctlyLennart Poettering2008-02-131-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2105 fefdeb5f-60dc-0310-8127-8f9354f1896f
* - Check process name when dealing with PID filesLennart Poettering2007-11-211-11/+16
| | | | | | | | | | | | - Add new PA_STREAM_FIX_CHANNELS, FIX_RATE, FIX_FORMAT, DONT_MOVE, VARIABLE_RATES to pa_sream_flags_t adn implement it - Expose those flags in pacat - Add notifications about device suspend/resume to the protocol and expose them in libpulse - Allow changing of buffer_attr during playback - allow disabling for remixing globally - hookup polkit support git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2067 fefdeb5f-60dc-0310-8127-8f9354f1896f
* merge 'lennart' branch back into trunk.Lennart Poettering2007-10-281-250/+734
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1971 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Add copyright notices to all relevant files. (based on svn log)Pierre Ossman2007-02-131-0/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1426 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Huge trailing whitespace cleanup. Let's keep the tree pure from here on,Pierre Ossman2007-01-041-49/+49
| | | | | | | mmmkay? git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1418 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Revert r1404 and keep it on a development branch until it is fully tested.Pierre Ossman2006-11-061-18/+8
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1409 fefdeb5f-60dc-0310-8127-8f9354f1896f
* rework memory block management to be thread-safe and mostly lock-free.Lennart Poettering2006-09-261-8/+18
| | | | | | | | | | | | | | | | | | | | | pa_memblock is now an opaque structure. Access to its fields is now done through various accessor functions in a thread-safe manner. pa_memblock_acquire() and pa_memblock_release() are now used to access the attached audio data. Why? To allow safe manipulation of the memory pointer maintained by the memory block. Internally _acquire() and _release() maintain a reference counter. Please do not confuse this reference counter whith the one maintained by pa_memblock_ref()/_unref()! As a side effect this patch removes all direct usages of AO_t and replaces it with pa_atomic_xxx based code. This stuff needs some serious testing love. Especially if threads are actively used. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1404 fefdeb5f-60dc-0310-8127-8f9354f1896f
* remove all occurences of Lennart Poettering2006-08-181-3/+3
| | | | | | | | | | | | pa_logXXX(__FILE__": and replace them by pa_logXXX(" git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1272 fefdeb5f-60dc-0310-8127-8f9354f1896f