summaryrefslogtreecommitdiffstats
path: root/src/pulse/stream.c
Commit message (Collapse)AuthorAgeFilesLines
* Implement "early requests" mode.Lennart Poettering2008-09-031-7/+11
| | | | | | | PA_STREAM_EARLY_REQUESTS is a new flag that will modify buffering metric selection behaviour a bit. This code is good for broken ALSA/OSS clients that ignore 'readability' on the fds in question and schedule audio via usleep() instead.
* Fix error code in pa_stream_get_timing_info()Lennart Poettering2008-08-261-1/+1
|
* add a few more gcc warning flags and fix quite a few problems found by doing soLennart Poettering2008-08-191-24/+24
|
* allow clients to not specify the volume for their streamsLennart Poettering2008-08-181-0/+12
|
* make gcc shut upLennart Poettering2008-08-091-1/+3
|
* don't use PA_GCC_UNUSED anymoreLennart Poettering2008-08-091-11/+11
|
* use (uint32_t) -1 to signify default buffer_attr values instead of 0, to ↵Lennart Poettering2008-06-271-6/+11
| | | | allow prebuf=0
* rework logic to request automatic timing updates a bitLennart Poettering2008-06-261-29/+34
|
* reorder a few things to get rid of an uneeded comparisonLennart Poettering2008-06-261-17/+10
|
* add a FIXMELennart Poettering2008-06-261-0/+2
|
* move initialization order of validity bools around a bitLennart Poettering2008-06-261-7/+5
|
* unify smoother pause/resume handling in a single function ↵Lennart Poettering2008-06-261-30/+43
| | | | check_smoother_status()
* use the newer name for monotonic/monotonousLennart Poettering2008-06-261-1/+1
|
* remove redundant checkLennart Poettering2008-06-261-9/+6
|
* properly initialize pa_stream::corked based on the flagsLennart Poettering2008-06-261-1/+2
|
* choose more sensible default buffer sizes for old clientsLennart Poettering2008-06-251-3/+11
|
* get rid of svn $ keywordsLennart Poettering2008-06-181-2/+0
|
* minor modernizationsLennart Poettering2008-06-171-2/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2543 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix a bad memory access pulsecore/client.cLennart Poettering2008-06-131-0/+29
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2527 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix pa_stream flag checkingLennart Poettering2008-05-171-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2452 fefdeb5f-60dc-0310-8127-8f9354f1896f
* merge glitch-free branch back into trunkLennart Poettering2008-05-151-338/+728
| | | | 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-5/+5
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2105 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix uploading of samples into PA. Problem discovered by Colin GuthrieLennart Poettering2007-11-221-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2074 fefdeb5f-60dc-0310-8127-8f9354f1896f
* - Check process name when dealing with PID filesLennart Poettering2007-11-211-12/+424
| | | | | | | | | | | | - 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-130/+189
| | | | 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-119/+119
| | | | | | | 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-16/+4
| | | | 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-4/+16
| | | | | | | | | | | | | | | | | | | | | 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
* Rework memory management to allow shared memory data transfer. The central ideaLennart Poettering2006-08-181-4/+3
| | | | | | | | | | | | | | | is to allocate all audio memory blocks from a per-process memory pool which is available as read-only SHM segment to other local processes. Then, instead of writing the actual audio data to the socket just write references to this shared memory pool. To work optimally all memory blocks should now be of type PA_MEMBLOCK_POOL or PA_MEMBLOCK_POOL_EXTERNAL. The function pa_memblock_new() now generates memory blocks of this type by default. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1266 fefdeb5f-60dc-0310-8127-8f9354f1896f
* only interpolate when the last timing info told us the stream is indeed playingLennart Poettering2006-06-211-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1051 fefdeb5f-60dc-0310-8127-8f9354f1896f
* big s/polyp/pulse/gLennart Poettering2006-06-191-0/+1366
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1033 fefdeb5f-60dc-0310-8127-8f9354f1896f