Commit graph

4353 commits

Author SHA1 Message Date
Lennart Poettering
ff52588c7b smoother: readd #ifdef protection 2009-08-05 03:52:15 +02:00
Lennart Poettering
2cab6a256c simple: check for == RUNNING instead of != DONE when waiting for operations 2009-08-05 01:05:35 +02:00
Lennart Poettering
5bbeb516aa simple: split data/length validity checks into two 2009-08-05 01:05:08 +02:00
Lennart Poettering
53fcf3add0 simple: call pa_context_disconnect() just to be sure 2009-08-05 01:04:50 +02:00
Lennart Poettering
a73c615b74 simple: always loop around pa_threaded_mainloop_wait() to handle spurious wakeups properly 2009-08-05 01:04:36 +02:00
Lennart Poettering
b553e7283d simple: use pa_xnew0 instead of manual reset to 0 2009-08-05 01:04:08 +02:00
Lennart Poettering
a4bc41a7a5 simple: use PA_xxx_IS_GOOD for state checks 2009-08-05 01:03:49 +02:00
Luke Yelavich
5e61111a88 POTFILES - Remove references to more non-existant files in the source tree 2009-08-05 00:23:58 +02:00
Lennart Poettering
9b2534b6d0 alsa: properly treat ESTRPIPE as system suspend 2009-08-04 00:23:43 +02:00
Lennart Poettering
3e2ab9b22e client: extend documentation on pa_operation_cancel() a bit 2009-08-03 23:07:59 +02:00
Lennart Poettering
a44cb642eb build-sys: take preset CFLAGS into account 2009-08-03 23:07:39 +02:00
Lubomir Rintel
34f31f666e Recover stream when it's suspended upon rewind
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>
2009-08-03 22:47:15 +02:00
Lennart Poettering
277822053c autospawn: if creating the lock file fails, pass error code cleanly back to main process
This makes sure PA clients don't hang if $HOME is for some reason
unsuitable for autospawn lockfiles.

Closes #539
2009-08-01 03:10:19 +02:00
Lennart Poettering
49fd8ee72e core-util: replace remaining fixed size destination string functions by _malloc() versions
This helps portability to GNU/Hurd.

Patch originally from Samuel Thibault but modified.

Closes ticket #546
2009-08-01 02:03:22 +02:00
Lennart Poettering
c6ea9fecc9 core-util: rework pa_strlcpy() to not rely on strncpy()
strncpy() is very slow since it resets the entire destination buffer.
Replace usage of strncpy by memcpy().
2009-08-01 02:01:58 +02:00
Lennart Poettering
e5c2256e36 pipe: replace PIPE_BUF macro pa pa_pipe_buf call
This should help portability to platforms that lack PIPE_BUF. Based on a
patch from Samuel Thibault.

See ticket #546
2009-08-01 01:59:58 +02:00
Lennart Poettering
0113e7282c hal: add option to initialize all subdevices of an OSS device
Patch from 'cmt', closes ticket #544
2009-07-31 23:13:21 +02:00
Lennart Poettering
478f3254b3 client: documented that pa_stream_drain() may only have a single operation active at a time
Closes #552.
2009-07-31 23:09:16 +02:00
Lennart Poettering
2952f28c06 client: fix documentation for threaded mainloop
Closes #553
2009-07-31 23:07:07 +02:00
Alam Arias
66db0c8471 update pulse-daemon.conf.5.xml.in about realtime-scheduling 2009-07-31 16:31:51 +02:00
Alam Arias
6d0c5a161b update pulse-daemon.conf.5.xml.in about exit-idle-time 2009-07-31 16:31:39 +02:00
Lennart Poettering
39aa1cf94d alsa: revert to first set number of periods, then set buffer size
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.
2009-07-31 02:07:24 +02:00
Lennart Poettering
c14f6c179f tunnel: don't assert on misaligned reads, closes #597 and rhbz #496310 2009-07-31 00:50:19 +02:00
Lennart Poettering
4f5e2b745e threaded-mainloop: loop around pa_cond_wait() invocation in pa_threaded_mainloop_signal() 2009-07-30 23:46:25 +02:00
Lennart Poettering
f8873ab82b build-sys: bump binary version 2009-07-28 01:43:33 +02:00
Lennart Poettering
115d853283 i18n: run make-update-po 2009-07-28 01:39:58 +02:00
Lennart Poettering
09e57c2ee9 Merge branch 'master' into master-tx 2009-07-28 01:35:19 +02:00
Lennart Poettering
8343360da1 client: minor modernizations 2009-07-25 03:11:09 +02:00
Lennart Poettering
6ce7d208f0 client: if a child we created was already reaped, assume that it was successful 2009-07-25 01:29:36 +02:00
Lennart Poettering
59659e1db6 interpol-test: allow configuration of latency 2009-07-24 20:22:19 +02:00
Lennart Poettering
211d0f3dcb client: limit block size for zero-copy operations to mempool block size 2009-07-24 20:21:30 +02:00
Lennart Poettering
e7ca058427 client: make volume struct const 2009-07-24 20:20:34 +02:00
Lennart Poettering
5efb07281d alsa: throw timing data away after device resume 2009-07-24 20:13:52 +02:00
Lennart Poettering
f6763917ee autospawn: refuse autospawning if process disabled waitpid() 2009-07-24 18:22:13 +02:00
Lennart Poettering
5e24b6dff5 memblock: try to hit an assert earlier when ref counting doesn't work 2009-07-24 15:49:22 +02:00
Lennart Poettering
2bbdf631f8 udev: explain what happened when inotify_add_watch() returned ENOSPC, rhbz #513571 2009-07-24 13:58:22 +02:00
Lennart Poettering
18433c19b6 alsa: handle correctly if alsa returns us 0 or EAGAIN on snd_pcm_mmap_begin if we didn't call snd_pcm_avail immediately before 2009-07-24 13:45:59 +02:00
logan
835a2ae83a Sending translation for Spanish 2009-07-23 18:18:16 +00:00
Lennart Poettering
a81244a726 pacat: use zero-copy write calls when playing audio file 2009-07-23 20:01:40 +02:00
Lennart Poettering
e02e0259e5 client: include zerocopy write calls in map file 2009-07-23 20:00:08 +02:00
Lennart Poettering
c325b93c01 alsa: don't reset volume/mute when selecting path 2009-07-23 19:24:26 +02:00
raven
097c0cb4e4 Sending translation for Polish 2009-07-23 17:15:39 +00:00
Lennart Poettering
5a0ef5fd13 daemon: replace colons by dash in per-machine directory names for compat with weird filesystems 2009-07-23 19:12:53 +02:00
Lennart Poettering
ac38c4d898 build-sys: add a couple of stub Makefiles 2009-07-23 18:49:28 +02:00
Lennart Poettering
1160cad9c3 alsa: control 'Speaker' element as well 2009-07-23 18:44:26 +02:00
Lennart Poettering
efe5b653a7 po: run make update-po 2009-07-23 15:37:53 +02:00
Lennart Poettering
638f9a561e Merge branch 'master-tx'
Conflicts:
	po/ca.po
	po/cs.po
	po/de.po
	po/es.po
	po/pl.po
2009-07-23 15:32:33 +02:00
Lennart Poettering
88d5749f6a Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
Conflicts:
	src/daemon/main.c
2009-07-23 15:18:06 +02:00
Lennart Poettering
3d6278bc31 Merge commit 'flameeyes/osx' 2009-07-23 15:13:29 +02:00
Wim Taymans
3b01d3a53f protocol-native: use the right samplerate
The render_memblockq is expressed in the sample_spec of the sink, not of the
particular stream before resampling.
2009-07-23 13:57:42 +02:00