Commit graph

4381 commits

Author SHA1 Message Date
Lennart Poettering
8998cba683 conf: add pa_config_parse_not_bool() for parsing inverse boolean configuration options 2009-08-12 20:14:31 +02:00
Lennart Poettering
eb40da25d6 daemon: install D-Bus system policy file for PA system instances
Original patch from 'mgrela'.

http://pulseaudio.org/ticket/582
2009-08-12 01:50:24 +02:00
Lennart Poettering
e8340345f6 alsa: enable ext. amplifier by default 2009-08-12 00:56:10 +02:00
Lennart Poettering
462cdf44b7 alsa: adjust priority bonus of mappings that match the configured default channel map
We need to make sure that having both input and output weighs more for
selecting the default profile than a channel map that matches the
default channel map has.

https://bugzilla.redhat.com/show_bug.cgi?id=496320
2009-08-12 00:53:38 +02:00
Lennart Poettering
d27e26dca0 volume-restore: forward module load return value of stream-restore back to caller 2009-08-11 23:19:28 +02:00
Lennart Poettering
c117febbe4 hal: replace subdevs= parameter by subdevices= parameter
Abbreviating tsched like this was bad enough, so let's not add another
option here.
2009-08-11 23:18:01 +02:00
Lennart Poettering
c1039c94fb udev: drop definition of LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE
We depend on udev 143 anyway, where this definition is not necessary
anymore.
2009-08-11 23:06:44 +02:00
Lennart Poettering
c904f97e2d hal: add stub module that loads module-udev-detect instead of module-hal-detect
This adds module-hal-detect-compat.c which when enabled will be compiled
into a module module-hal-detect which simply loads module-udev-detect.

The purpose of this is to allow easy upgrading without breaking
default.pa. Distributions are recommended to enable this to easy
upgrades from HAL versions of PA to udev versions.
2009-08-11 23:04:35 +02:00
Lennart Poettering
ebe35968d7 Revert "build-sys: drop libcap checks, since we don't use caps anymore"
This reverts commit 9ade13604e.
2009-08-10 21:43:03 +02:00
Lennart Poettering
a99e3b5491 Merge commit 'origin/master-tx' 2009-08-10 21:34:03 +02:00
Lennart Poettering
d8d26979fa Merge commit 'flameeyes/master' 2009-08-10 21:33:42 +02:00
Maxim Levitsky
23a294c97e Correctly deal with events in the past in calc_next_timeout
pa_usec_t is unsigned, thus it will always be >= 0
This makes gstreamer pulse mixer work again

This fixes a gstreamer mixer regression, when it can't control the volume,
after few changes.
2009-08-10 21:23:26 +02:00
logan
0f77afe10f Sending translation for Spanish 2009-08-10 17:37:00 +00:00
igor
de68d362ce Sending translation for Brazilian Portuguese 2009-08-08 22:03:35 +00:00
Lennart Poettering
9bd3398f94 mix-test: fix test for s24-32 samples 2009-08-08 04:30:42 +02:00
Diego Elio 'Flameeyes' Pettenò
10e4171265 Update the end-of-configuration summary for OSS output/wrapper split. 2009-08-08 02:09:26 +02:00
Diego Elio 'Flameeyes' Pettenò
4c15115007 Split OSS support in output and wrapper.
Since Fedora does not enable OSS output support at all, but still uses
padsp, and in Gentoo we could also make use of padsp without OSS output
support, split the two things in two parameters, although they both check
for sys/soundcard.h once.
2009-08-08 01:53:15 +02:00
Lennart Poettering
9ade13604e build-sys: drop libcap checks, since we don't use caps anymore 2009-08-08 01:37:32 +02:00
Lennart Poettering
7d4916379b ladspa/remap: make sure we process all requested rewinds unconditionally
In some situations a rewind request travelling downstream might be
optimized away on its way and an upstream rewind processing might never
come back. Hence, call _process_rewind() before each _render()just to
make sure we processed them all.
2009-08-07 23:58:45 +02:00
Lennart Poettering
51b3899348 core: save volume/mute changes coming from the hardware automatically
Volume changes coming from the lower layers are most likely changes
triggered by the user, so let's save them automatically.
2009-08-07 23:55:06 +02:00
Lennart Poettering
aa7408b54b run make update-po 2009-08-05 15:17:31 +02:00
Lennart Poettering
42f92a8087 Merge commit 'origin/master-tx'
Conflicts:
	po/pl.po
	po/pt.po
	po/pt_BR.po
2009-08-05 15:08:29 +02:00
ruigo
19f2ffba49 Sending translation for Portuguese 2009-08-05 10:23:26 +00:00
ruigo
40b2dde488 Sending translation for Portuguese 2009-08-05 10:20:38 +00:00
Lennart Poettering
8483de4f2b simple: bump libpulse-simple library revision 2009-08-05 03:53:41 +02:00
Lennart Poettering
ff52588c7b smoother: readd #ifdef protection 2009-08-05 03:52:15 +02:00
ruigo
20d62e2665 Sending translation for Portuguese 2009-08-04 23:32:24 +00: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