Commit graph

3982 commits

Author SHA1 Message Date
Lennart Poettering
b304a98854 mutex: when we fail to fill in mutex into static mutex ptr free it again 2009-04-21 21:24:33 +02:00
Lennart Poettering
12065f326a llist: add PA_LLIST_FOREACH 2009-04-21 21:23:53 +02:00
Lennart Poettering
8fbf6269b3 object: revert to old unref() behaviour
This mostly reverts these two commits:

eb04d0fda6
12c5afe038
2009-04-19 20:09:03 +02:00
Lennart Poettering
eb04d0fda6 object: fix ref counting of objects on destruction 2009-04-19 19:33:15 +02:00
Lennart Poettering
ad2a0ab40b alsa: remove debug code 2009-04-19 19:25:42 +02:00
Lennart Poettering
98a25c506e alsa: properly convert return values of snd_strerror() to utf8 2009-04-19 19:22:51 +02:00
Lennart Poettering
39a26d8c6b log: use pa_logl() instead of pa_log_level() 2009-04-19 19:05:25 +02:00
Lennart Poettering
b9f1af48d2 log: print file name only when we have it 2009-04-19 19:04:50 +02:00
Lennart Poettering
6773d000e3 util: if NULL is passed to pa_path_get_filename() just hand it through 2009-04-19 19:02:16 +02:00
Erich Boleyn
b03a650160 reserve-device: allow building without D-Bus
Lennart Poettering <lennart@poettering.net> wrote:

> On Wed, 15.04.09 16:26, Erich Boleyn (erich@uruk.org) wrote:
>
> > Just noticed the new 0.9.15 release, got it building on Gentoo, and then
> > found that the non-dbus build's ALSA modules appear to be broken:
...
> > Is this something that can stubbed out (relatively) safely?
>
> Hmm, yes. As it seems I broke the build for non-dbus builds. Should be
> easy to fix. Best way is probably to make the reserver wrapper mostly
> a noop if D-Bus is not available.
>
> Please understand that I don't really focus on making every weird
> combination of build deps work. So I won't fix this for you. But I am
> happy to merge good patches!

No problem, I was mainly looking for a hint that to your knowledge there
should be no wierd side-effects from stubbing out the reserve and dbus
functions inside reserve_wrapper.  Thanks for said hint.  ;-)

Attached is a patch to include "reserve_wrapper.[ch]" in the non-dbus
builds, and do said stubbing when HAVE_DBUS is not defined.  It has
passed moderate testing:  built both versions, both pass
"pulseaudio --dump-modules" with no weird messages, and the
"--disable-dbus" build works and produces audio as expected in some
simple tests including RTP.
2009-04-19 02:06:33 +02:00
Finn Thain
1c0667de21 solaris: 0.9.15 solaris module build failure
Lennart wrote,

>
> Hmm, yes. As it seems I broke the build for non-dbus builds.

Well, you also broke the solaris module between 0.9.15-test8 and 0.9.15.

Have you considered release candidates?

Patch follows. It would be nice if API changes could be made without
breaking things when the effort to avoid that is trivial.

Finn
2009-04-18 23:54:34 +02:00
Lennart Poettering
12c5afe038 object: keep refcount at 1 while destructing objects 2009-04-18 23:24:36 +02:00
Lennart Poettering
ad447d1468 core-util: handle EINTR already inside of pa_read/pa_write 2009-04-18 23:21:11 +02:00
Marc-André Lureau
099b3284ec bluetoth-device: be less strict on CONNECTED state to switch profile 2009-04-17 22:41:36 +02:00
Marc-André Lureau
344eea4f58 pulse/context: when NOFAIL, don't try_next_connection() if c->client 2009-04-17 22:41:26 +02:00
Lennart Poettering
d775cf6fd4 rescue-streams: when one stream move fails try to continue with the remaining ones 2009-04-17 20:30:09 +02:00
Lennart Poettering
ca9cd14659 add a few missing initializations 2009-04-14 01:23:07 +02:00
Lennart Poettering
40d71e1f49 explcitly ignore return values of some functions marked with gcc's warn_unused_result attribute 2009-04-14 01:22:42 +02:00
Lennart Poettering
845b312f44 bump version for final 0.9.15 release 2009-04-14 01:10:47 +02:00
Lennart Poettering
a4cea4e469 core: when applying delay memblockq take monitored sink latency into account 2009-04-14 01:04:17 +02:00
Lennart Poettering
2d94c93957 pacat: add missing newline 2009-04-14 01:03:34 +02:00
Lennart Poettering
4ee4a55617 core: use pa_{source|sink}_get_latency_within_thread() at one more place 2009-04-14 01:03:10 +02:00
Lennart Poettering
16324fc7be sort LINGUAS 2009-04-13 23:41:05 +02:00
Lennart Poettering
a6541550fd run make update-po 2009-04-13 23:10:08 +02:00
Lennart Poettering
c96f6f39f5 update LINGUAS 2009-04-13 23:08:05 +02:00
Lennart Poettering
0948dca0ed Merge commit 'origin/master-tx' 2009-04-13 23:07:27 +02:00
Lennart Poettering
fe8b10cc05 core: introduce new 'reference' volume for sinks
The reference volume is to be used as reference volume for stored stream
volumes. Previously if a new stream was created the relative volume was
taken relatively to the virtual device volume. Due to the flat volume
logic this could then be fed back to the virtual device volume.
Repeating the whole story over and over would result in a device volume
that would go lower, and lower and lower.

This patch introduces a 'reference' volume for each sink which stays
unmodified by stream volume changes even if flat volumes are used. It is
only modified if the sink volumes are modified directly by the user.

For further explanations see http://pulseaudio.org/wiki/InternalVolumes
2009-04-13 22:56:25 +02:00
Lennart Poettering
49dcf0940e alsa: include the alsa mixer control that is used in the property list 2009-04-13 22:56:25 +02:00
Lennart Poettering
6fd8fd18c2 alsa: store mixer controls to use in profile data
This allows us to easily use different mixer controls for analog and
spdif output.
2009-04-13 22:56:19 +02:00
Lennart Poettering
89f74cb858 alsa: when passing emptry mixer control name, force sw volume 2009-04-13 22:45:31 +02:00
Lennart Poettering
237a9e12f8 volume: increase dB range to -90dB
Increasing the volume range to -90dB has the benefit of corresponding
with a volume decrease from the full 16 bit signal to 0.

This also makes us a bit more like traditional stereos
2009-04-13 22:41:44 +02:00
Lennart Poettering
0ac038e591 client-conf-x11: unbreak autospawn due to stale X11 properties
If the X11 property data is from the same session than the client the
client may do autospawning in case the X11 property data is stale.

Closes #518.
2009-04-13 22:28:35 +02:00
Lennart Poettering
0aed5ea2e1 client-conf: when is set, disable autospawn setting 2009-04-13 22:25:43 +02:00
Lennart Poettering
4cc4cbd641 client-conf: make setting a default server independant from the autospawn setting 2009-04-13 22:25:09 +02:00
Lennart Poettering
20aba71d94 proplist-util: use pa_session_id() instead of accessing 7b816367b01393ed3e3e650047d78f6e-1239640487.203609-1061245823 directly 2009-04-13 22:23:18 +02:00
Lennart Poettering
43650de1ab client-conf: modernize a few things 2009-04-13 22:22:22 +02:00
Lennart Poettering
a36197c9d0 print session id when starting up 2009-04-13 22:21:26 +02:00
Lennart Poettering
1d8da03886 core-util: filter utf8 in pa_machine_id() 2009-04-13 22:21:08 +02:00
Lennart Poettering
1b4e5f197a core-util: add pa_session_id() 2009-04-13 22:20:48 +02:00
warrink
2ba882cde0 Sending translation for po/nl.po 2009-04-13 17:25:40 +00:00
Lennart Poettering
17f1784cb7 cork-music-on-phone: make sure that we don't check the refcnt of pa_core when the daemon goes down 2009-04-13 05:12:11 +02:00
Lennart Poettering
62db10c952 lirc: fix logic behind mute buttons 2009-04-13 04:44:27 +02:00
Lennart Poettering
66d21849e6 mmkbd: get rid of support for ancient kernels 2009-04-13 04:43:11 +02:00
Lennart Poettering
f1d3dfb118 mmkbd,lirc: make use of pa_assert_not_reached() 2009-04-13 04:42:33 +02:00
Lennart Poettering
270a6981f7 lirc, mmkbd: extend controllable volume range to PA_VOLUME_MAX 2009-04-13 04:41:51 +02:00
Lennart Poettering
6d218e9634 api: introduce PA_VOLUME_MAX 2009-04-13 04:39:45 +02:00
Lennart Poettering
e9dd7a504e lirc: drop lirc_in_use, it's made redundant by PA_MODULE_LOAD_ONCE 2009-04-13 04:38:57 +02:00
Lennart Poettering
d8de5d374e make sure we never overflow when calculating sleep time
Issue pointed out by Jaroslav Kysela
2009-04-13 03:40:46 +02:00
ifelix
362ec7bc62 Sending translation for Tamil 2009-04-11 23:42:37 +00:00
Lennart Poettering
6eaeaea581 Downgrade default log level to NOTICE to follow documentation
Closes #527
2009-04-10 03:41:25 +02:00