Commit graph

2962 commits

Author SHA1 Message Date
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
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
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
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
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
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