Commit graph

826 commits

Author SHA1 Message Date
Lennart Poettering
c2150118bf ioline: add new calls pa_ioline_detach_iochannel() and pa_ioline_is_drained() 2009-04-29 04:14:52 +02:00
Lennart Poettering
a64097ab1f ioline: add callback that can be called when the ioline object is fully drained 2009-04-29 04:14:23 +02:00
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
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
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
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
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
Lennart Poettering
a4cea4e469 core: when applying delay memblockq take monitored sink latency into account 2009-04-14 01:04:17 +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
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
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
Lennart Poettering
5388b44b9a alsa: when printing warning about bogus data from alsa include snd_pcm_dump() 2009-04-10 01:58:39 +02:00
Lennart Poettering
f7c229d8f9 core: add a seperate fixed_latency field for sinks/sources with fixed latency 2009-04-10 01:26:04 +02:00
Lennart Poettering
9ae8ca2c37 core: memory leak, fix ref counting when moving streams 2009-04-10 01:21:16 +02:00
Lennart Poettering
dcd4a73df9 dbus: memory leak, actually free dbus wrapper 2009-04-10 01:18:04 +02:00
Lennart Poettering
d827ecd28d dbus: drop pa_ prefix from static symbol 2009-04-10 01:17:49 +02:00
Lennart Poettering
f8ebe8571c protocol-native: downgrade message if we receive pcm block for dead stream 2009-04-10 01:16:59 +02:00
Lennart Poettering
5b871966ab protocol-native: print underrun message only once for each underrun 2009-04-10 01:16:24 +02:00
Lennart Poettering
3507d1eb37 socket-server: memory leak, free machine id after use 2009-04-10 01:15:26 +02:00
Lennart Poettering
669703daec dbus: memory leak, free pending calls 2009-04-10 01:14:46 +02:00
Lennart Poettering
9ba9883693 dbus: memory leak, free server id after use 2009-04-10 01:12:46 +02:00
Lennart Poettering
c32c6c833e introduce relative_volume field in sink_input and make use of it on sink flat volume change 2009-04-08 03:49:16 +02:00
Lennart Poettering
c523b16d33 after propagating a sink volume change to the sink inputs recalculate their soft volumes 2009-04-07 04:47:58 +02:00
Lennart Poettering
93e14d3e62 we need to make our multiplications with linear values 2009-04-07 04:05:03 +02:00
Lennart Poettering
02686cce6d reduce number of conversions to/from linear volumes 2009-04-07 04:04:19 +02:00