Commit graph

4423 commits

Author SHA1 Message Date
Juho Hämäläinen
ea5cdcbe52 database: simple hashmap based database implementation 2009-08-15 02:07:00 +02:00
Maarten Bosmans
61105df13b combine: determine sample parameters of combined sink from underlying sinks
http://pulseaudio.org/ticket/521
2009-08-15 01:38:06 +02:00
Lennart Poettering
1eeddd84d2 combine: warn when the latency of a stream gets too high 2009-08-15 01:16:57 +02:00
Lennart Poettering
e1f3f5e0bf combine: big rework 2009-08-15 01:07:37 +02:00
Lennart Poettering
8947d65515 combine: drop adjust_timestamp variable because it is unused 2009-08-15 01:04:21 +02:00
Lennart Poettering
a5b2dee03c ladspa: name sink after human readable plugin name, not the id string 2009-08-15 01:02:16 +02:00
Lennart Poettering
763866280a module-ladspa: allow moving of sink, forward fixed latency 2009-08-15 01:01:52 +02:00
Lennart Poettering
1b3848ebd7 module-remap: allow moving of sink, forward fixed latency
This is a bigger change reworking a number of things:

- We now allow moving of the remap sink betwween backend sinks like any
  other stream.

- We forward the fixed latency parameter of the underlying sinks the
  same way as the dynamic latency.
2009-08-15 00:59:26 +02:00
Lennart Poettering
c44f518eb9 ladspa: move LADSPA_Data size check to compile time 2009-08-15 00:58:19 +02:00
Lennart Poettering
fb5205daac remap: unify argument order with other modules 2009-08-15 00:57:36 +02:00
Lennart Poettering
d9e4605e09 hook-list: make use of PA_LLIST_FOREACH 2009-08-15 00:55:31 +02:00
Lennart Poettering
d7d86e32dd native-protocol: downgrade volume change log messages 2009-08-15 00:54:51 +02:00
Lennart Poettering
3c271ae060 core: document difference between IO and main thread view on requested latency 2009-08-15 00:54:25 +02:00
Lennart Poettering
c6080d8c61 core: don't update latency range if not changed 2009-08-15 00:54:02 +02:00
Lennart Poettering
3f9c67a7fb core: call pa_sink_get_latency_within_thread() instead of going directly via process_msg() 2009-08-15 00:52:50 +02:00
Lennart Poettering
350a2bc846 core: make fixed latency dynamically changeable
This of course makes the name 'fixed' a bit of a misnomer. However the
definitions are now like this:

fixed latency: the latency may change during runtime, but is solely
controlled by the backend, the client has no influence.

dynamic latency: the latency may change during runtime, influenced by
the requests of the clients.

i.e. fixed vs. dynamic is from the perspective of the client.
2009-08-15 00:48:14 +02:00
Lennart Poettering
4eb59fb90e core: move rtpoll to thread_info sub structure 2009-08-15 00:26:00 +02:00
Lennart Poettering
58d441f7ea log: place more rate limit invocations 2009-08-15 00:16:25 +02:00
Lennart Poettering
fd1266c666 rescure-stream: handle failed moves as well as dying sinks/sources 2009-08-15 00:15:18 +02:00
Lennart Poettering
e4db56bf07 core: split of FAIL_ON_SUSPEND into KILL_ON_SUSPEND and NO_CREATE_ON_SUSPEND 2009-08-15 00:12:53 +02:00
Lennart Poettering
e53d2fc6b5 native: handle moving() callback with NULL destination properly 2009-08-15 00:05:17 +02:00
Lennart Poettering
0989be13f6 core: introduce pa_{sink_input|source_output}_fail_move() 2009-08-15 00:03:50 +02:00
Lennart Poettering
7891f964e4 module-stream-restore: don't fiddle with sinks/sources/streams that are not fully set up yet 2009-08-14 23:55:32 +02:00
Lennart Poettering
0f2a4ed422 volume: guarantee dB/linear conversion is reversible 2009-08-14 20:03:30 +02:00
Lennart Poettering
72d2540e8d protocol-native: log explicitly each time a client triggers a volume change 2009-08-14 19:31:05 +02:00
Lennart Poettering
a1598c742e daemon: reset gids too, not just uids 2009-08-14 19:28:18 +02:00
Lennart Poettering
fecd0dc801 resampler: round up when estimating input/output sizes 2009-08-14 04:21:09 +02:00
Lennart Poettering
9e21182e01 thread-mq: never drop queued messages for the main loop
Previously we might have dropped messages from IO trheads to the main
thread. This tuend out to be problematic since this cause SHM release
messages to be lost. More visibly however this could cause playback
freezing when moving streams between sinks and removing the old sink
right away.
2009-08-14 04:18:28 +02:00
Lennart Poettering
446fb2c9fe asyncmsgq: add pa_asyncmsgq_flush() call 2009-08-14 04:17:48 +02:00
Lennart Poettering
a42c597f0a memblockq: add pa_memblockq_get_maxrewind() API 2009-08-14 04:16:28 +02:00
Lennart Poettering
b0cabfe16b shm: bump shm size limit to 1GB 2009-08-14 04:14:35 +02:00
Lennart Poettering
aae7054b1c pacmd: handle multi word commands in argv[] properly 2009-08-14 04:12:36 +02:00
Lennart Poettering
5ee4069e9e core: add functions to query max_rewind/max_request values from streams 2009-08-13 02:17:24 +02:00
Lennart Poettering
9a95fe49c8 core: add assert macros for verifying calling context
This adds pa_assert_io_context() and pa_assert_ctl_context() in addition
to a few related macros. When called they will fail when the current execution
context is not IO resp. not control context. (aka 'thread' context vs.
'main' context)
2009-08-13 02:14:19 +02:00
Lennart Poettering
17d57415f5 start-child: clean up child environment a bit better 2009-08-12 21:43:06 +02:00
Lennart Poettering
5fcb8a3c08 pacmd: port pacmd from select() to poll() so that we notice writer side hangups 2009-08-12 21:42:02 +02:00
Lennart Poettering
286ab2f193 memblock: rate limit 'Pool full' message 2009-08-12 21:40:38 +02:00
Lennart Poettering
5921324fd3 context: document why we only do minimal cleanups before the autospawn exec() 2009-08-12 21:40:12 +02:00
Lennart Poettering
27b8cd783c daemon: reset scheduling priority on startup, too 2009-08-12 21:37:40 +02:00
Lennart Poettering
ef176ecb62 core-util: move personality resetting into core-util 2009-08-12 21:36:52 +02:00
Lennart Poettering
9f53aa5546 daemon: unconditionally clean up priviliges 2009-08-12 21:35:48 +02:00
Lennart Poettering
facae1f275 conf: invert all negative boolean configuration option 2009-08-12 20:15:28 +02:00
Lennart Poettering
8998cba683 conf: add pa_config_parse_not_bool() for parsing inverse boolean configuration options 2009-08-12 20:14:31 +02:00
Lennart Poettering
eb40da25d6 daemon: install D-Bus system policy file for PA system instances
Original patch from 'mgrela'.

http://pulseaudio.org/ticket/582
2009-08-12 01:50:24 +02:00
Lennart Poettering
e8340345f6 alsa: enable ext. amplifier by default 2009-08-12 00:56:10 +02:00
Lennart Poettering
462cdf44b7 alsa: adjust priority bonus of mappings that match the configured default channel map
We need to make sure that having both input and output weighs more for
selecting the default profile than a channel map that matches the
default channel map has.

https://bugzilla.redhat.com/show_bug.cgi?id=496320
2009-08-12 00:53:38 +02:00
Lennart Poettering
d27e26dca0 volume-restore: forward module load return value of stream-restore back to caller 2009-08-11 23:19:28 +02:00
Lennart Poettering
c117febbe4 hal: replace subdevs= parameter by subdevices= parameter
Abbreviating tsched like this was bad enough, so let's not add another
option here.
2009-08-11 23:18:01 +02:00
Lennart Poettering
c1039c94fb udev: drop definition of LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE
We depend on udev 143 anyway, where this definition is not necessary
anymore.
2009-08-11 23:06:44 +02:00
Lennart Poettering
c904f97e2d hal: add stub module that loads module-udev-detect instead of module-hal-detect
This adds module-hal-detect-compat.c which when enabled will be compiled
into a module module-hal-detect which simply loads module-udev-detect.

The purpose of this is to allow easy upgrading without breaking
default.pa. Distributions are recommended to enable this to easy
upgrades from HAL versions of PA to udev versions.
2009-08-11 23:04:35 +02:00