Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | smoother: readd #ifdef protection | Lennart Poettering | 2009-08-05 | 1 | -2/+2 |
| | |||||
* | simple: check for == RUNNING instead of != DONE when waiting for operations | Lennart Poettering | 2009-08-05 | 1 | -2/+2 |
| | |||||
* | simple: split data/length validity checks into two | Lennart Poettering | 2009-08-05 | 1 | -2/+4 |
| | |||||
* | simple: call pa_context_disconnect() just to be sure | Lennart Poettering | 2009-08-05 | 1 | -1/+3 |
| | |||||
* | simple: always loop around pa_threaded_mainloop_wait() to handle spurious ↵ | Lennart Poettering | 2009-08-05 | 1 | -11/+28 |
| | | | | wakeups properly | ||||
* | simple: use pa_xnew0 instead of manual reset to 0 | Lennart Poettering | 2009-08-05 | 1 | -5/+1 |
| | |||||
* | simple: use PA_xxx_IS_GOOD for state checks | Lennart Poettering | 2009-08-05 | 1 | -2/+2 |
| | |||||
* | alsa: properly treat ESTRPIPE as system suspend | Lennart Poettering | 2009-08-04 | 2 | -2/+5 |
| | |||||
* | client: extend documentation on pa_operation_cancel() a bit | Lennart Poettering | 2009-08-03 | 1 | -1/+5 |
| | |||||
* | Recover stream when it's suspended upon rewind | Lubomir Rintel | 2009-08-03 | 1 | -1/+7 |
| | | | | | | | | | | | | | Error from snd_pcm_rewind() might mean we just woke up from suspend and didn't have a chance to try to recover the stream since we didn't write to it in between. Call try_recover() in such cases. Note that for this to work kernel must return ESTRPIPE instead of EBADF for rewind/forward attempts on suspended streams, so that snd_pcm_recover() can recognize it should snd_pcm_resume() the stream. This is not the case yet (2.6.31-rc5), patch is available. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> | ||||
* | autospawn: if creating the lock file fails, pass error code cleanly back to ↵ | Lennart Poettering | 2009-08-01 | 1 | -21/+45 |
| | | | | | | | | | main process This makes sure PA clients don't hang if $HOME is for some reason unsuitable for autospawn lockfiles. Closes #539 | ||||
* | core-util: replace remaining fixed size destination string functions by ↵ | Lennart Poettering | 2009-08-01 | 7 | -38/+119 |
| | | | | | | | | | | _malloc() versions This helps portability to GNU/Hurd. Patch originally from Samuel Thibault but modified. Closes ticket #546 | ||||
* | core-util: rework pa_strlcpy() to not rely on strncpy() | Lennart Poettering | 2009-08-01 | 1 | -2/+10 |
| | | | | | strncpy() is very slow since it resets the entire destination buffer. Replace usage of strncpy by memcpy(). | ||||
* | pipe: replace PIPE_BUF macro pa pa_pipe_buf call | Lennart Poettering | 2009-08-01 | 4 | -4/+23 |
| | | | | | | | This should help portability to platforms that lack PIPE_BUF. Based on a patch from Samuel Thibault. See ticket #546 | ||||
* | hal: add option to initialize all subdevices of an OSS device | Lennart Poettering | 2009-07-31 | 1 | -5/+20 |
| | | | | Patch from 'cmt', closes ticket #544 | ||||
* | client: documented that pa_stream_drain() may only have a single operation ↵ | Lennart Poettering | 2009-07-31 | 1 | -1/+3 |
| | | | | | | active at a time Closes #552. | ||||
* | client: fix documentation for threaded mainloop | Lennart Poettering | 2009-07-31 | 1 | -5/+9 |
| | | | | Closes #553 | ||||
* | alsa: revert to first set number of periods, then set buffer size | Lennart Poettering | 2009-07-31 | 1 | -26/+29 |
| | | | | | | | Apparently some ALSA drivers aren't happy with getting the buffer size configured first followed the period size. So swap the order again and document this for future reference so that we don't turn that around again. | ||||
* | tunnel: don't assert on misaligned reads, closes #597 and rhbz #496310 | Lennart Poettering | 2009-07-31 | 1 | -4/+22 |
| | |||||
* | threaded-mainloop: loop around pa_cond_wait() invocation in ↵ | Lennart Poettering | 2009-07-30 | 2 | -4/+13 |
| | | | | pa_threaded_mainloop_signal() | ||||
* | client: minor modernizations | Lennart Poettering | 2009-07-25 | 1 | -7/+4 |
| | |||||
* | client: if a child we created was already reaped, assume that it was successful | Lennart Poettering | 2009-07-25 | 1 | -3/+10 |
| | |||||
* | interpol-test: allow configuration of latency | Lennart Poettering | 2009-07-24 | 1 | -27/+54 |
| | |||||
* | client: limit block size for zero-copy operations to mempool block size | Lennart Poettering | 2009-07-24 | 2 | -6/+18 |
| | |||||
* | client: make volume struct const | Lennart Poettering | 2009-07-24 | 2 | -2/+2 |
| | |||||
* | alsa: throw timing data away after device resume | Lennart Poettering | 2009-07-24 | 5 | -25/+30 |
| | |||||
* | autospawn: refuse autospawning if process disabled waitpid() | Lennart Poettering | 2009-07-24 | 1 | -2/+15 |
| | |||||
* | memblock: try to hit an assert earlier when ref counting doesn't work | Lennart Poettering | 2009-07-24 | 1 | -9/+14 |
| | |||||
* | udev: explain what happened when inotify_add_watch() returned ENOSPC, rhbz ↵ | Lennart Poettering | 2009-07-24 | 1 | -1/+11 |
| | | | | #513571 | ||||
* | alsa: handle correctly if alsa returns us 0 or EAGAIN on snd_pcm_mmap_begin ↵ | Lennart Poettering | 2009-07-24 | 2 | -11/+39 |
| | | | | if we didn't call snd_pcm_avail immediately before | ||||
* | pacat: use zero-copy write calls when playing audio file | Lennart Poettering | 2009-07-23 | 1 | -61/+65 |
| | |||||
* | client: include zerocopy write calls in map file | Lennart Poettering | 2009-07-23 | 1 | -0/+2 |
| | |||||
* | alsa: don't reset volume/mute when selecting path | Lennart Poettering | 2009-07-23 | 1 | -2/+2 |
| | |||||
* | daemon: replace colons by dash in per-machine directory names for compat ↵ | Lennart Poettering | 2009-07-23 | 1 | -2/+2 |
| | | | | with weird filesystems | ||||
* | build-sys: add a couple of stub Makefiles | Lennart Poettering | 2009-07-23 | 3 | -0/+3 |
| | |||||
* | alsa: control 'Speaker' element as well | Lennart Poettering | 2009-07-23 | 4 | -0/+22 |
| | |||||
* | Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio | Lennart Poettering | 2009-07-23 | 9 | -15/+69 |
|\ | | | | | | | | | Conflicts: src/daemon/main.c | ||||
| * | Merge commit 'flameeyes/osx' | Lennart Poettering | 2009-07-23 | 3 | -3/+7 |
| |\ | |||||
| | * | Again make sure that the wait() definition is not shadowed. | Diego Elio 'Flameeyes' Pettenò | 2009-07-17 | 1 | -2/+2 |
| | | | | | | | | | | | | Rename the parameter in pa_asyncmsgq_get() to wait_op. | ||||
| | * | Make the rtstutter tests mostly pointless without CLOCK_REALTIME. | Diego Elio 'Flameeyes' Pettenò | 2009-07-17 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | On the other hand, this actually makes the test build, and test at least that it doesn't abort away, when the CLOCK_REALTIME interface is not present (or when clock_gettime is not found). | ||||
| | * | Check for support of -z nodelete LD flag, don't use it unconditionally. | Diego Elio 'Flameeyes' Pettenò | 2009-07-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | On non-GNU, non-Sun linkers, the -z option is often not understood; make sure that the -z nodelete option is usable before making use of it. Unbreaks build on Mac OS X. | ||||
| * | | protocol-native: use the right samplerate | Wim Taymans | 2009-07-23 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | The render_memblockq is expressed in the sample_spec of the sink, not of the particular stream before resampling. | ||||
| * | | Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio | Lennart Poettering | 2009-07-22 | 3 | -25/+11 |
| |\| | |||||
| | * | Merge commit 'flameeyes/master' | Colin Guthrie | 2009-07-16 | 2 | -24/+2 |
| | |\ | |||||
| | | * | Remove exploitable LD_BIND_NOW hack (CVE-2009-1894). | Diego Elio 'Flameeyes' Pettenò | 2009-07-16 | 2 | -24/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of trying to re-execute pulseaudio itself with LD_BIND_NOW set, just find the correct flag for the linker to request immediate bindings (all ELF files support that option), and use that when linking the daemon. Reduce the amount of compiled and executed code as well. | ||||
| | * | | introspect: Fix two memory issues in port handling code. | Colin Guthrie | 2009-07-12 | 1 | -1/+9 |
| | |/ | | | | | | | | | | | | | First one is a simple typo on an error condition that would have likely caused issues if it ever cropped up. Second issue is that port information is never actually freed if everything works fine. | ||||
| * | | udev: don't fail if /dev/snd is not available right-away | Lennart Poettering | 2009-07-22 | 1 | -6/+28 |
| | | | |||||
| * | | daemon: reset personality, to make the autospawn env cleaup complete | Lennart Poettering | 2009-07-22 | 1 | -0/+10 |
| | | | |||||
| * | | alsa: deal properly with IO functions asking us to write 0 bytes | Lennart Poettering | 2009-07-22 | 2 | -2/+12 |
| |/ | |||||
* | | memtrap: clarify that we are not interested in the return value of write() | Lennart Poettering | 2009-07-20 | 1 | -1/+1 |
| | |