Commit graph

2507 commits

Author SHA1 Message Date
Lennart Poettering
4cb6ea2d96 simple-protocol: don't hit an assert when we call connection_unlink() early 2009-04-29 04:13:07 +02:00
Lennart Poettering
0b2d96d6c0 protocol-http: substantial modernizations 2009-04-29 02:00:19 +02:00
Lennart Poettering
d8710711fb alsa: allow configuration of fallback device strings in profiles
This has the benefit that we can properly support ALSA devices where
only the raw 'hw' device exists but no 'front' although it's a proper
2ch stereo device.
2009-04-29 01:58:18 +02:00
Lennart Poettering
ad5a1f312a protocol-native,proplist-util: port to pa_get_{user|host}_name_malloc() 2009-04-29 01:56:02 +02:00
Lennart Poettering
a8f0d7ec1e core-util: introduce pa_get_host_name_malloc() and pa_get_user_name_malloc() 2009-04-29 01:54:44 +02:00
Lennart Poettering
4abd5fae14 memtrap: implicitly page align memory areas 2009-04-29 01:53:28 +02:00
Lennart Poettering
bd0e4ceb85 macro: make pa_page_align roung up instead of down 2009-04-29 01:52:28 +02:00
Lennart Poettering
68f3ca9831 macro: add new macro pa_align_ptr() 2009-04-29 01:52:11 +02:00
Lennart Poettering
8247e4555b shm: minor modernizations 2009-04-29 01:49:22 +02:00
Lennart Poettering
595c22a3ad shm: page align shm size when mmap()ing it 2009-04-29 01:49:02 +02:00
Lennart Poettering
9745483cdd strbuf: add new call pa_strbuf_putc() 2009-04-29 01:46:51 +02:00
Lennart Poettering
5d39b8d22d idxset: add enumeration macro PA_IDXSET_FOREACH 2009-04-29 01:46:12 +02:00
Lennart Poettering
0368d6e22b build-system: move x11 and jack modules into subdirectories 2009-04-28 02:29:01 +02:00
Lennart Poettering
edba78c8e0 start-pulseaudio-x11: don't start a local sound server if a remote sound server is configured 2009-04-22 22:05:20 +02:00
Lennart Poettering
ad12d7d4b0 memtrap,aupdate: split atomic update from memtrap into seperate aupdate framework 2009-04-22 19:10:09 +02:00
Lennart Poettering
26383c6f14 memtrap: add a bit of documentation for memtrap 2009-04-21 23:02:17 +02:00
Lennart Poettering
67efc76abc memtrap: fix parameter type 2009-04-21 23:02:02 +02:00
Lennart Poettering
684b4c116c memtrap: hook up core to memtrap system 2009-04-21 22:56:08 +02:00
Lennart Poettering
928adf412f memtrap: make installation of SIGBUS handler explicit to ease integration into libraries 2009-04-21 22:54:44 +02:00
Lennart Poettering
7b0086185f memtrap: when we fail to handle sigbus say so 2009-04-21 21:36:29 +02:00
Lennart Poettering
6224fac921 memtrap: add new logic to trap and handle SIGBUS 2009-04-21 21:33:32 +02:00
Lennart Poettering
fbbcfae769 semaphore: introduce static semaphores 2009-04-21 21:25:27 +02:00
Lennart Poettering
391d50cd26 mutex: add initializer for static mutexes 2009-04-21 21:25:01 +02:00
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
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
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