Commit graph

948 commits

Author SHA1 Message Date
Lennart Poettering
aeb0707f12 fix bad memory access 2009-01-15 18:27:43 +01:00
Lennart Poettering
5abda63a1f convert pa_client instantiation to use a pa_client_new_data struct and add hooks for manipulating it 2009-01-15 17:52:29 +01:00
Lennart Poettering
75119e91cd add new dont_rewind_render flag to allow quick starts of newly created streams 2009-01-15 00:40:06 +01:00
Lennart Poettering
06de6393d1 don't rely on PA_SINK_RUNNING vs. PA_SINK_IDLE for optimizations since it might not be fully up to date 2009-01-15 00:07:38 +01:00
Lennart Poettering
d1cf0e7845 fix a potential format string vulnerability 2009-01-15 00:03:56 +01:00
Marc-André Lureau
6ec0162686 sink: add a virtual_volume to sink 2009-01-14 21:38:12 +02:00
Lennart Poettering
20edd846d0 make pa_asyncq_push() fail under no circumstances. 2009-01-14 17:36:44 +01:00
Marc-André Lureau
09641cc707 build: fix few warnings 2009-01-13 22:56:02 +02:00
Marc-André Lureau
49ae38347c cli: add missing update-*-proplist 2009-01-13 22:53:58 +02:00
Marc-André Lureau
2204bbebf2 core: add source, si, so proplist_update 2009-01-13 19:06:10 +02:00
Marc-André Lureau
9d6e9f51df cli: update-sink-proplist 2009-01-13 16:59:46 +02:00
Marc-André Lureau
9e978c9770 core: report remaining shared objects when cleanup 2009-01-13 16:59:45 +02:00
Marc-André Lureau
ebb903a376 core: add pa_source_update_proplist 2009-01-13 16:59:45 +02:00
Marc-André Lureau
9444347c06 core: add pa_sink_update_proplist 2009-01-13 16:59:45 +02:00
Lennart Poettering
b8e6aae08e add new API function pa_memchunk_sine()
Ease generation of sine signals. Try to make the repeatable sine
memblock fit into a single mempool slot.
2009-01-12 19:48:44 +01:00
Lennart Poettering
949de8156e Extend command name lookup tables to cover complete protocol
Makes it easier to debug things.
2009-01-12 19:46:17 +01:00
Lennart Poettering
aff72437a6 Fix suspending of all sinks/sources
pasuspender issues a SUSPEND_ALL requests for suspending all
sinks/sources at once. This has been broken due to an ill-placed sanity
checked.
2009-01-12 19:44:21 +01:00
Lennart Poettering
947a828943 fix version check 2009-01-12 19:33:38 +01:00
Lennart Poettering
4e8ada521a show maximum usable slot size 2009-01-10 02:55:57 +01:00
Lennart Poettering
c850aa0c5b Add new pa_reduce() and pa_gcd() functions 2009-01-10 02:53:57 +01:00
Lennart Poettering
98049fbf81 make things compile again 2009-01-08 23:31:05 +01:00
Lennart Poettering
7b52840adc add a few missing parens 2009-01-08 23:30:51 +01:00
Lennart Poettering
aff7768fb1 Add new debuuging API pa_memchunk_dump_to_file() 2009-01-08 21:12:03 +01:00
Lennart Poettering
2ff20ceccb Rework handling of the PA_SINK_LATENCY/PA_SOURCE_LATENCY flags 2008-12-24 00:58:34 +01:00
Lennart Poettering
6130c5c11b Add "base volume" field to sinks/sources 2008-12-24 00:49:43 +01:00
Lennart Poettering
3e3c103ed9 Add APIs to pass pa_volume_t fields in a tagstruct 2008-12-24 00:46:02 +01:00
Lennart Poettering
03aa91dea7 make sure we don't hit an assert when we issue two rewind requests in a
single iteration

Closes rhbz 472757.
2008-12-21 17:55:29 +01:00
Lennart Poettering
c5b8eb7edf introduce new function pa_module_unload_request_by_index 2008-12-17 21:19:34 +01:00
Lennart Poettering
82f09b6d8f Don't hit an assert when checking for idleness
Closes #398
2008-12-17 21:03:17 +01:00
Lennart Poettering
209a8d7b55 Don't mix front-center into rear channels
If there's a center channel on input that is not available on output
make sure we mix front-center only into front-left/right and rear-center
into rear-left/right.

Closes #400
2008-12-17 19:53:58 +01:00
Lennart Poettering
7013849354 Check if environ is actually set before we use it
Some applications seem to set **environ to NULL for various reasons.
Before we iterate through it we thus need to make sure it is actually
set to make sure we don't segfault.

Closes rhbz #473080
2008-12-16 14:03:40 +01:00
Lennart Poettering
f826ded33d make shm marker architecture independant, patch from michich, closes #401 2008-11-01 21:41:07 +01:00
Lennart Poettering
58b53bbc1a a bit of pa_bool_t'ization 2008-11-01 21:10:26 +01:00
Lennart Poettering
adc2973c8d Implement new flags DONT_INHIBIT_AUTO_SUSPEND and START_UNMUTED 2008-10-26 19:32:04 +01:00
Lennart Poettering
b712e7b13d make sure to use 64bit rounding even on 32bit machines when converting to pa_usec_t 2008-10-24 04:34:10 +02:00
Lennart Poettering
c4b346259f make the debug trap macro a proper macro in macro.h 2008-10-21 22:04:22 +02:00
Lennart Poettering
651a451c54 support changing logging parameters during runtime using the CLI 2008-10-21 19:14:07 +02:00
Lennart Poettering
f4320d83a2 Support showing a backtrace on log messages 2008-10-21 19:13:15 +02:00
Lennart Poettering
f92a814118 include log.h near the end so that macro.h can be included in log.h and defines pa_bool_t properly 2008-10-21 18:40:01 +02:00
Lennart Poettering
d4c6342032 add pa_config_parse_unsigned() 2008-10-21 18:38:55 +02:00
Lennart Poettering
7fecb2340e convert argument to boolean int in PA_UNLIKELY, too 2008-10-21 18:27:25 +02:00
Lennart Poettering
519bb556cd fix return value of pa_frame_aligned() 2008-10-21 18:26:24 +02:00
Lennart Poettering
358824b330 add new virtual function may_move_to to sink inputs/source outputs to allow modules to forbid certain connections 2008-10-21 18:24:45 +02:00
Lennart Poettering
309bc71f07 fix invalid validity check 2008-10-21 18:22:28 +02:00
Lennart Poettering
d395792788 always check for libtool prefix binary name to avoid confusion when using both installed and run-from-build-tree versions of PA in parallel 2008-10-19 22:24:18 +02:00
Colin Guthrie
91b64bc96b Fix a potential C++/C99 ism, add a log message on error condition
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2008-10-08 22:56:12 +02:00
Lennart Poettering
b6ccea3064 add a comment that pa_sink_input_set_volume and module-flat-volume.c are related 2008-10-08 00:10:01 +02:00
Lennart Poettering
68cc2996cc after calling PA_CORE_HOOK_SINK_SET_VOLUME hook, check again whether the volume changed 2008-10-07 22:47:32 +02:00
Lennart Poettering
46f73fb953 additional validity checks 2008-10-07 22:47:01 +02:00
Lennart Poettering
e053fa03f7 if the channel map was modified due to PA_SINK_INPUT_FIX_CHANNELS, remap the specified volume properly 2008-10-07 22:46:18 +02:00