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
Lennart Poettering
41ad33dfe7
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
2009-07-22 22:49:06 +02:00
Lennart Poettering
e3b0ce57e0
udev: don't fail if /dev/snd is not available right-away
2009-07-22 22:48:54 +02:00
Lennart Poettering
2f54b5df18
daemon: reset personality, to make the autospawn env cleaup complete
2009-07-22 22:47:51 +02:00
Lennart Poettering
7e2afffb81
alsa: deal properly with IO functions asking us to write 0 bytes
2009-07-22 22:38:38 +02:00
Lennart Poettering
0225ef68f2
memtrap: clarify that we are not interested in the return value of write()
2009-07-20 15:50:02 +01:00
Lennart Poettering
23039af842
client: allow zero-copy writing to the stream
2009-07-20 15:49:33 +01:00
Lennart Poettering
a2b207e38a
daemon: before exec'ing ourselves, make sure nobody plays games with /proc/self/exe
2009-07-20 15:48:36 +01:00
Diego Elio 'Flameeyes' Pettenò
d18eb61bd2
Again make sure that the wait() definition is not shadowed.
...
Rename the parameter in pa_asyncmsgq_get() to wait_op.
2009-07-17 21:05:49 +02:00
Diego Elio 'Flameeyes' Pettenò
542607f4c6
Make the rtstutter tests mostly pointless without CLOCK_REALTIME.
...
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).
2009-07-17 21:03:22 +02:00
Diego Elio 'Flameeyes' Pettenò
673112b192
Check for support of -z nodelete LD flag, don't use it unconditionally.
...
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.
2009-07-17 14:18:07 +02:00
Colin Guthrie
7e4509f9e5
Merge commit 'flameeyes/master'
2009-07-16 17:41:25 +01:00
Diego Elio 'Flameeyes' Pettenò
84200b423e
Remove exploitable LD_BIND_NOW hack (CVE-2009-1894).
...
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.
2009-07-16 15:57:41 +02:00
Colin Guthrie
61fefd67da
introspect: Fix two memory issues in port handling code.
...
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.
2009-07-12 21:07:58 +01:00
Lennart Poettering
6fdd5846b2
stream-restore: mark volume changes from instant apply as saved ones
2009-07-01 21:11:19 +02:00
Marc-André Lureau
95d3faaac8
bluetooth: don't connect on unconnected profile
2009-07-01 21:00:42 +02:00
Marc-André Lureau
e93c6c36fe
bluetooth: warn on EAGAIN after POLLOUT
2009-07-01 21:00:33 +02:00
Lennart Poettering
7dabe051cd
memtrap: properly lock access to memtrap changer
2009-07-01 20:22:38 +02:00
Lennart Poettering
28e4625a52
memblock: rearrange locking order
2009-07-01 20:20:55 +02:00
Lennart Poettering
efdd3d054b
reserve: update from upstream git repo
2009-07-01 20:20:36 +02:00
Lennart Poettering
5d4769b7dd
alsa: fix a few comments
2009-07-01 20:20:06 +02:00
Lennart Poettering
5bb1883e60
build-sys: add missing dependency to libcli
2009-07-01 20:19:42 +02:00
Lennart Poettering
b174a51120
libpulse: minor cleanups
2009-07-01 14:26:07 +02:00
Lennart Poettering
a10b7cda4e
native: don't hit assert when user uploads zero-sized sample
2009-07-01 14:25:13 +02:00
Lennart Poettering
cd70d7f5b0
bluetooth: don't busy loop when device is not writable but we want to write
2009-07-01 02:21:17 +02:00
Lennart Poettering
c3958aaa07
bluetooth: handle absence of bluez D-Bus service properly
2009-07-01 02:20:23 +02:00
Lennart Poettering
1104141d78
reserve: fix build without D-Bus
2009-06-30 21:13:09 +02:00
Colin Guthrie
59376b039e
introspect: Fix a bug in sink/source info protocol handling related to ports.
...
Previously the active_profile was extracted from the tagstruct regardless of
the protocol version which caused errors while speaking to older version
servers.
2009-06-29 22:52:31 +01:00
Colin Guthrie
a007d4740f
combine: Do not set (and update) description if the user passed one in during load.
...
Note that this will not turn off auto-description setting if the user were to
update the proplist later, so such a change could be short lived.
2009-06-29 22:52:31 +01:00
Colin Guthrie
7ee1b471d9
udev: Don't install the udev rules if we're not compiling udev support
2009-06-29 22:52:30 +01:00
Diego Elio 'Flameeyes' Pettenò
1ca7603109
Add missing headers includes for FreeBSD.
...
This removes the implicit declarations of send() and pthread_sigmask().
2009-06-29 17:42:07 +02:00
Diego Elio 'Flameeyes' Pettenò
bce211e416
Rename the flock variable to f_lock.
...
flock() is a function on FreeBSD, and the variable shadowed its definition.
2009-06-29 17:41:57 +02:00
Diego Elio 'Flameeyes' Pettenò
6f44792806
Only declare saved_errno when it's going to be used (on Linux).
2009-06-29 17:41:45 +02:00
Diego Elio 'Flameeyes' Pettenò
9a2ac32dcd
Rename the wait parameter to wait_op, to avoid shadowing wait().
2009-06-29 17:41:37 +02:00
Diego Elio 'Flameeyes' Pettenò
2266a39bd3
Remove the call for pa_rtpoll_install() in the Solaris module.
...
I hope this is enough, since the removal of the other pa_rtpoll_install()
calls deemed Linux good enough, but said nothing about Solaris, but since
the function is gone there is little more to do.
2009-06-29 17:41:27 +02:00
Diego Elio 'Flameeyes' Pettenò
24564afc43
Fix the moved rtclock.h header in the Solaris module.
2009-06-29 17:41:18 +02:00
Diego Elio 'Flameeyes' Pettenò
de40e41446
Also alias MAP_ANONYMOUS to MAP_ANON in shm.c, for FreeBSD.
2009-06-29 17:41:06 +02:00
Diego Elio 'Flameeyes' Pettenò
2f7bce9375
Add a missing sys/stat.h include for FreeBSD to declare umask().
2009-06-29 17:40:56 +02:00
Diego Elio 'Flameeyes' Pettenò
fc649adf9d
Don't try to compile the rtkit sources when dbus is not enabled.
...
This change only affects the buildsystem: source code was correct already.
2009-06-29 17:40:50 +02:00
Diego Elio 'Flameeyes' Pettenò
ad4e025ef5
Implement mix-test for s24le and s24be sample formats.
2009-06-29 17:40:42 +02:00
Diego Elio 'Flameeyes' Pettenò
595f80fef7
Use static constants to keep the generated sample blocks.
2009-06-29 17:40:35 +02:00
Diego Elio 'Flameeyes' Pettenò
080f6308f2
Ignore IPv6 tests, if IPv6 was built in but the system doesn't have it.
...
This removes a test failure when an IPv6-enabled PulseAudio is tested on a
system where IPv6 is not enabled in kernel.
2009-06-29 17:40:28 +02:00
Diego Elio 'Flameeyes' Pettenò
e7c3a12a6e
Properly link module-zeroconf-publish against libnative-protocol.
...
Without this change, undefined symbols will be found in the module and the
link will be rejected (thanks to the just-made change to reject outstanding
undefined symbols).
Also, in -test1, without this change it would have caused the module to not
load because of missing symbols.
2009-06-29 17:40:09 +02:00
Diego Elio 'Flameeyes' Pettenò
a4703ce7e8
Check for and use flags to reject undefined symbols in libraries.
...
Make sure that all the PulseAudio modules are built properly without
outstanding undefined symbols: if the undefined symbols are found, reject
link.
2009-06-29 17:40:01 +02:00
Lennart Poettering
2654eb7781
sndfile: fix build on BE archs
2009-06-23 18:54:17 +02:00
Lennart Poettering
0b52bf4cd1
build-sys: don't make pulseaudio binary suid on install anymore
2009-06-23 18:33:36 +02:00
Lennart Poettering
5b78752a04
intended-roles: drop quite a few unnecessary includes
2009-06-23 16:09:32 +02:00
Lennart Poettering
ef85558abd
modules: pass properly initialized userdata pointers to various hooks
2009-06-23 04:25:45 +02:00