summaryrefslogtreecommitdiffstats
path: root/src/pulse/stream.c
Commit message (Collapse)AuthorAgeFilesLines
* don't try to outsmart the transportLennart Poettering2009-04-051-8/+0
|
* Modify smoothing code to make cubic interpolation optional and allow 'quick ↵Lennart Poettering2009-04-051-9/+13
| | | | | | | | | | | | | | | fixups' on resuming The primary reason for this change is to allow time graphs that do not go through the origin and hence smoothing starting from the origin is not desired. This change will allow passing time data into the smoother while paused and then abruptly use that data without smoothing using the 'quick fixup' flag when resuming. Primary use case is allowing recording time graphs where the data recorded originates from a time before the stream was created. The resulting graft will be shifted and should not be smoothened to go through the origin.
* properly account for seeks in the requested_bytes counterLennart Poettering2009-04-011-10/+10
|
* increase timing update interval exponentiallyLennart Poettering2009-04-011-4/+13
|
* notify clients about tlength changesLennart Poettering2009-03-301-1/+91
|
* minimal reorderingLennart Poettering2009-03-241-1/+1
|
* pulse: check context (do not user pstream when NULL)Marc-André Lureau2009-03-231-0/+1
|
* try to detect when stupid clients forks and refuse all service from then onLennart Poettering2009-03-051-0/+65
|
* Use LGPL 2.1 on all files previously using LGPL 2Colin Guthrie2009-03-031-1/+1
|
* allow sending meta/policy events to clientsLennart Poettering2009-02-121-0/+59
|
* implement PA_STREAM_FAIL_ON_SUSPEND logicLennart Poettering2009-02-031-1/+3
|
* don't use PA_STREAM_NOT_MONOTONOUS anymoreLennart Poettering2009-02-021-2/+2
|
* Add support for 24bit samples encoded in the LSB of 32 bit wordsLennart Poettering2009-01-161-0/+1
|
* add support for 24bit packed samplesLennart Poettering2009-01-161-0/+1
|
* Implement new flags DONT_INHIBIT_AUTO_SUSPEND and START_UNMUTEDLennart Poettering2008-10-261-1/+11
|
* properly parse response to pa_stream_set_buffer_attr() calls. closes #370Lennart Poettering2008-10-021-1/+14
|
* fix pa_stream_set_nameOmair Majid2008-09-111-1/+1
| | | | | | | | | | | | | This patch fixes a bug in pa_stream_set_name. It uses the media.name property instead of the application.name property when setting a stream's name >From aa1bda11d2084365cb0cec57f37d59f07ab80052 Mon Sep 17 00:00:00 2001 From: Omair Majid <omajid@redhat.com> Date: Wed, 10 Sep 2008 17:02:28 -0400 Subject: [PATCH] Fix bug in pa_stream_set_name Signed-off-by: Lennart Poettering <lennart@poettering.net>
* stream_started_callback userdata bugArthur Taylor2008-09-101-1/+1
| | | | | | | | | | Hello I came across a bug where the userdata parameter of the stream_started_callback was always NULL in some cases. I couldn't seem to make a ticket, so here's the one line patch: Signed-off-by: Lennart Poettering <lennart@poettering.net>
* fix S32 validity checkLennart Poettering2008-09-101-1/+1
|
* 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