summaryrefslogtreecommitdiffstats
path: root/src/pulsecore
Commit message (Collapse)AuthorAgeFilesLines
* native: improve logging for buffer_attrsLennart Poettering2010-02-221-0/+18
|
* scache: when playing a sample from the cache make sure not queue them up ↵Lennart Poettering2010-02-215-19/+31
| | | | | | | 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
* shm: don't complain about missing SHM segmentsLennart Poettering2010-02-191-1/+1
| | | | | | | If two clients try to cleanup the SHM directory at the same time, they might want to open and then delete the same segment at the same time, in which case one client might win, the other one lose. In this case, don't warn about ENOENT.
* fdsem: be more verbose when reading from eventfd fails.Lennart Poettering2010-02-161-6/+35
| | | | | | | | | Apperently reading from an eventfd can fail, which results in an assert to be hit. I am not sure about the reason for the failure, but in attempt to track down the issue the next time is hit this prints a more useful log message. https://bugzilla.redhat.com/attachment.cgi?id=386380
* dbus: first restart timer, then dispatch itLennart Poettering2010-02-161-13/+16
| | | | | | | This makes sure that we don't access the timer after it might have been destroyed already from the dbus timeout callback. https://bugzilla.redhat.com/attachment.cgi?id=389952
* core: Fix macro typo - PA_SINK_IS_LINKED -> PA_SINK_INPUT_IS_LINKEDColin Guthrie2010-02-091-1/+1
|
* native: rework handling of seeks that depend on variables the client does ↵Lennart Poettering2010-01-184-5/+11
| | | | | | | | | | | | not know anything about All seeks/flushes that depend on the playback buffer read pointer cannot be accounted for properly in the client since it does not know the actual read pointer. Due to that the clients do not account for it at all. We need do the same on the server side. And we did, but a little bit too extreme. While we properly have not applied the changes to the "request" counter we still do have to apply it to the "missing" counter. This patch fixes that.
* Fix the following warnings (which now cause buildd failures in Ubuntu 10.04):Daniel T Chen2010-01-151-0/+1
| | | | | | | | | | | | pulsecore/cpu-arm.c: In function 'get_cpuinfo': pulsecore/cpu-arm.c:70: warning: implicit declaration of function 'pa_read' [-Wimplicit-function-declaration] pulsecore/cpu-arm.c:72: warning: implicit declaration of function 'pa_close' [-Wimplicit-function-declaration] pulsecore/cpu-arm.c: In function 'pa_cpu_init_arm': pulsecore/cpu-arm.c:110: warning: implicit declaration of function 'pa_split_spaces' [-Wimplicit-function-declaration] pulsecore/cpu-arm.c:110: warning: assignment makes pointer from integer without a cast Function `pa_split_spaces' implicitly converted to pointer at pulsecore/cpu-arm.c:110 Signed-off-by: Daniel T Chen <crimsun@ubuntu.com>
* More src/pulsecore/cpu-arm.c FTBFS fixesDaniel T Chen2010-01-151-2/+3
| | | | | | | Fix missing argument to pa_read(), and be consistent with declaration of state variable in pa_cpu_init_arm(). Signed-off-by: Daniel T Chen <crimsun@ubuntu.com>
* cpu: check for CMOV flag before using this intsruction in assemblyLennart Poettering2010-01-133-5/+9
| | | | http://pulseaudio.org/ticket/776
* log: add an easy way to disable log rate limitingLennart Poettering2010-01-131-38/+50
| | | | | | Should help with debuggin bugs like: https://bugzilla.redhat.com/show_bug.cgi?id=554405
* once: make once related variables volatileLennart Poettering2010-01-124-10/+5
|
* core: make sure we always return a valid memblock in sink_input_pop() callbacksLennart Poettering2010-01-084-4/+18
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=553607
* native: fix request counter miscalculationsLennart Poettering2010-01-082-57/+51
| | | | | | | | | | | | | Do not subtract bytes the client sends us beyond what we requested from our missing bytes counter. This was mostly a thinko that caused servers asking for too little data when the client initially sent more data than requested, because that data sent too much was accounted for twice. This commit fixes this miscalculation. http://bugzilla.redhat.com/show_bug.cgi?id=534130
* core: make cpuid code compile cleanly with 32bit PIC0.9.19-stableLennart Poettering2009-11-111-2/+6
|
* core: adjust volume only when there is actually a memory blockLennart Poettering2009-11-111-5/+6
| | | | | | Fixes an assert that is hit in somne niche cases: https://bugzilla.redhat.com/show_bug.cgi?id=533482
* protocol: use the right sample rate for sourcesWim Taymans2009-11-111-1/+1
| | | | Use the correct sample rate for reporting about the timing.
* core-util: add call to detect if we are called from within a VMLennart Poettering2009-11-112-0/+90
|
* sink: simplify silence checksWim Taymans2009-11-111-12/+10
|
* protocol-native: if a client set volume/mute/device store it since it is ↵Lennart Poettering2009-11-111-2/+8
| | | | user input
* protocol-native: declare that user configured volumes are always absoluteLennart Poettering2009-11-111-1/+3
|
* Fix build when using -fweb, accept both register and memory constraints.Diego Elio 'Flameeyes' Pettenò2009-11-112-4/+4
| | | | | This was reported as Gentoo bug #287391 by Torsten Kaiser, and the fix was suggested by Mike Frysinger.
* svolume: fix MMX errorWim Taymans2009-10-301-1/+6
| | | | | We need to sign extend the lower part of the multiplication before adding it to the higher part. Makes -1 * 0xffff work again.
* svolume: tweak constraints for 32 bitsWim Taymans2009-09-232-4/+4
| | | | | | Tweak the constraints a little so that register starved 32bit systems can select a stack variable for the channel paramter instead of reusing one of the registers we're using in the code.
* core: dump proplist when creating stream similar to how we already to it for ↵Lennart Poettering2009-09-202-4/+12
| | | | sinks/sources
* memtrap: properly add items to linked listLennart Poettering2009-09-191-1/+4
|
* namereg: choose default sink/source as soon as one becomes availableLennart Poettering2009-09-181-1/+12
|
* memblock: don't try to reuse PA_MEMBLOCK_APPENDED memblocks since they ↵Lennart Poettering2009-09-181-4/+11
| | | | usually are much bigger than we want them
* socket-client: modernizationsLennart Poettering2009-09-182-38/+24
|
* memblock: modernizationsLennart Poettering2009-09-181-3/+2
|
* timeval: make timeval conversion routines handle PA_USEC_INVALID specialLennart Poettering2009-09-181-1/+7
|
* core-rtclock: introduce pa_timespec_store() akin pa_timeval_store()Lennart Poettering2009-09-182-0/+15
|
* macro: introduce PA_INT_TYPE_MIN, PA_INT_TYPE_MAX, PA_INT_TYPE_SIGNED macrosLennart Poettering2009-09-181-0/+12
|
* core-util: unify how we determine the temporary directoryLennart Poettering2009-09-172-10/+25
|
* Improve TMPDIR handlingLennart Poettering2009-09-171-1/+1
| | | | | | Patch from 'jnelson', http://pulseaudio.org/ticket/653
* svolume_mmx: disable test accidentaly left onLennart Poettering2009-09-171-1/+1
|
* Merge remote branch 'wtay/optimize'Lennart Poettering2009-09-172-14/+8
|\
| * svolume_mmx: optimize some moreWim Taymans2009-09-161-13/+7
| | | | | | | | | | | | We can reorder the algortihm a bit like we do for sse so that we don't need the contants and masking instructions. Saves 2 instructions for the mmx code.
| * svolume_sse: fix commentWim Taymans2009-09-161-1/+1
| |
* | memblock: make it easy to disable mempool usage with $PULSE_MEMPOOL_DISABLELennart Poettering2009-09-171-0/+7
|/
* core: add an additional volume factor that is applied after resampling took ↵Lennart Poettering2009-09-112-10/+56
| | | | place
* native: send PA_COMMAND_PLAYBACK_BUFFER_ATTR_CHANGED messages only to ↵Lennart Poettering2009-09-101-13/+15
| | | | clients that understand it
* simd: be more precise which SIMD optimizations we activateLennart Poettering2009-09-095-16/+28
|
* sample-util: add pa_convert_size() call for converting sizes between two ↵Lennart Poettering2009-09-092-0/+12
| | | | sample specs
* ratelimit: allow non-static ratelimit structsLennart Poettering2009-09-091-4/+14
|
* protocol-native: log explicitly when someone asks us to quitLennart Poettering2009-09-081-0/+2
|
* core-util: properly fill in exception array for pa_reset_sigs() ↵Lennart Poettering2009-09-081-1/+1
| | | | (llvm-clang-analyzer)
* conf-parser: properly initialize variable we free() later (llvm-clang-analyzer)Lennart Poettering2009-09-081-1/+1
|
* cli-command: don't necessarily ovveride failure code of files ↵Lennart Poettering2009-09-081-2/+0
| | | | (llvm-clang-analyzer)