summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/core-scache.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary #includesMaarten Bosmans2011-06-221-2/+0
|
* Include <time.h> where necessaryMaarten Bosmans2011-03-011-0/+1
|
* volume: Fix incorrect usage of PA_VOLUME_IS_VALIDArun Raghavan2010-10-191-2/+2
| | | | | The commit that introduced this macro was incorrect in some places. This patch fixes these. Thanks to Pierre-Louis Bossart for pointing this out.
* volume: Use a macro to check if a volume is validArun Raghavan2010-10-151-2/+2
| | | | | | | This adds a PA_VOLUME_IS_VALID() macro for checking if a given pa_volume_t is valid. This makes changes to the volume ranges simpler (just change PA_VOLUME_MAX, for example, without needing to modify any other code).
* scache: when playing a sample from the cache make sure not queue them up ↵Lennart Poettering2010-02-211-1/+6
| | | | | | | when the sink is suspended libcanberra already sets the appropriate flags for uncached sample streams, we now need to make sure to set them for cached samples too.
* sample-cache: use the sample name as unmodified fallback in the properties ↵Lennart Poettering2010-02-211-1/+2
| | | | when playing a sample from the cache
* volume: fix definition of PA_VOLUME_MAX and introduce PA_VOLUME_INVALID and ↵Lennart Poettering2009-09-071-2/+2
| | | | use it wherever applicable
* core-util: replace remaining fixed size destination string functions by ↵Lennart Poettering2009-08-011-2/+3
| | | | | | | | | | _malloc() versions This helps portability to GNU/Hurd. Patch originally from Samuel Thibault but modified. Closes ticket #546
* Base mainloop on pa_rtclock_now()Marc-André Lureau2009-06-201-12/+7
| | | | | | | | | | | | | | | | Move the mainloop to monotonic based time events. Introduces 4 helper functions: pa_{context,core}_rttime_{new,restart}(), that fill correctly a timeval with the rtclock flag set if the mainloop supports it. Both mainloop-test and mainloop-test-glib works with rt and timeval based time events. PulseAudio and clients should be fully functional. This patch has received several iterations, and this one as been largely untested. Signed-off-by: Marc-André Lureau <marca-andre.lureau@nokia.com>
* sndfile: big rework of libsndfile interfacing codeLennart Poettering2009-05-261-12/+18
| | | | | | | | | This adds proper channel map handling when reading/writing audio files. This allows surround .WAV files to be played with the right channel setup automatically. This also merges paplay into pacat and adds recording into formatted files to pacat.
* Use LGPL 2.1 on all files previously using LGPL 2Colin Guthrie2009-03-031-1/+1
|
* get rid of nonsensical late initialization of namereg/scache and thingsLennart Poettering2009-01-291-15/+7
|
* allow samples to be played with 'default' (i.e. unspecified) volume.Lennart Poettering2009-01-271-9/+21
|
* kill autoload stuff as plannedLennart Poettering2009-01-151-6/+6
|
* allow - in sample namesLennart Poettering2008-10-031-12/+19
|
* don't use PA_GCC_UNUSED anymoreLennart Poettering2008-08-091-2/+2
|
* make user of pa_channel_map_init_extend() wherever it makes senseLennart Poettering2008-06-181-2/+1
|
* get rid of svn $ keywordsLennart Poettering2008-06-181-2/+0
|
* minor modernizations, increase unload timeout to 60sLennart Poettering2008-06-141-5/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2530 fefdeb5f-60dc-0310-8127-8f9354f1896f
* merge glitch-free branch back into trunkLennart Poettering2008-05-151-24/+53
| | | | 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/+10
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2105 fefdeb5f-60dc-0310-8127-8f9354f1896f
* merge 'lennart' branch back into trunk.Lennart Poettering2007-10-281-27/+67
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1971 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Add some debugging output from sample cache subsystem.Pierre Ossman2007-03-011-0/+10
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1430 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-14/+14
| | | | | | | mmmkay? git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1418 fefdeb5f-60dc-0310-8127-8f9354f1896f
* remove all occurences of Lennart Poettering2006-08-181-2/+2
| | | | | | | | | | | | 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
* Rework memory management to allow shared memory data transfer. The central ideaLennart Poettering2006-08-181-2/+2
| | | | | | | | | | | | | | | 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
* big s/polyp/pulse/gLennart Poettering2006-06-191-0/+412
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1033 fefdeb5f-60dc-0310-8127-8f9354f1896f