Tanu Kaskinen [Mon, 17 Aug 2009 13:53:58 +0000 (16:53 +0300)]
dbusiface-device: Fix argument reading in handle_suspend().
Tanu Kaskinen [Mon, 17 Aug 2009 13:52:10 +0000 (16:52 +0300)]
dbusiface-device: Use a single if-else section instead of ternary operator overuse.
Tanu Kaskinen [Mon, 17 Aug 2009 13:50:29 +0000 (16:50 +0300)]
dbusiface-device: Split some overly long lines.
Tanu Kaskinen [Mon, 17 Aug 2009 13:42:58 +0000 (16:42 +0300)]
dbusiface-core: Two new functions: pa_dbusiface_core_get_sink/source().
Tanu Kaskinen [Mon, 17 Aug 2009 13:42:06 +0000 (16:42 +0300)]
dbusiface-core: New function: pa_dbusiface_core_get_client_path().
Tanu Kaskinen [Mon, 17 Aug 2009 05:26:06 +0000 (08:26 +0300)]
namereg: Revert default device handling back to the upstream version.
Tanu Kaskinen [Sun, 16 Aug 2009 18:25:48 +0000 (21:25 +0300)]
Merge branch 'master' of git://0pointer.de/pulseaudio into dbus-work
Conflicts:
src/Makefile.am
src/daemon/daemon-conf.c
src/daemon/daemon.conf.in
src/modules/module-stream-restore.c
src/pulse/client-conf.c
src/pulsecore/namereg.c
Tanu Kaskinen [Sun, 16 Aug 2009 16:42:56 +0000 (19:42 +0300)]
dbusiface-stream: Implement about a half of the Stream D-Bus interface.
Tanu Kaskinen [Sun, 16 Aug 2009 16:41:43 +0000 (19:41 +0300)]
dbusiface-device: Free the copied proplist.
Tanu Kaskinen [Sun, 16 Aug 2009 16:39:39 +0000 (19:39 +0300)]
dbusiface-client: Fix indentation.
Lennart Poettering [Sun, 16 Aug 2009 00:02:51 +0000 (02:02 +0200)]
aupdate: implicitly call _write_swap() if it wasn't called explicitly
Lennart Poettering [Sat, 15 Aug 2009 22:45:56 +0000 (00:45 +0200)]
core: add to FIXMEs
Lennart Poettering [Sat, 15 Aug 2009 22:45:23 +0000 (00:45 +0200)]
modules: add various checks to avoid selecting objects that are not linked or in another unclear state
Lennart Poettering [Sat, 15 Aug 2009 22:43:22 +0000 (00:43 +0200)]
bluetooth: move installation of mq's earlier to avoid context asserts to be triggered
Lennart Poettering [Sat, 15 Aug 2009 20:25:53 +0000 (22:25 +0200)]
bluetooth: ask first for Headset and AudioSink properties, followed by Audio
Lennart Poettering [Sat, 15 Aug 2009 20:25:21 +0000 (22:25 +0200)]
bluetooth: recognize only those BT devices that implement both the Audio and either AudioSink or Headset interfaces
Lennart Poettering [Sat, 15 Aug 2009 20:24:13 +0000 (22:24 +0200)]
bluetooth: drop PA_BT_AUDIO_STATE_LAST since it is unused and we normally call that _MAX anyway
Lennart Poettering [Sat, 15 Aug 2009 20:23:42 +0000 (22:23 +0200)]
thread-mq: do final q flush only when we aren't dispatching anyway
Lennart Poettering [Sat, 15 Aug 2009 20:22:57 +0000 (22:22 +0200)]
asyncmsgq: introduce pa_asyncmsgq_dispatching()
Tanu Kaskinen [Sat, 15 Aug 2009 14:08:21 +0000 (17:08 +0300)]
dbusiface-client: Fix the interface name.
Tanu Kaskinen [Sat, 15 Aug 2009 13:55:29 +0000 (16:55 +0300)]
dbusiface-client: Implement the properties of the Client D-Bus interface.
Based on a patch from Vincent Filali-Ansary.
Tanu Kaskinen [Sat, 15 Aug 2009 13:54:11 +0000 (16:54 +0300)]
dbusiface-core: Two new functions: pa_dbusiface_core_get_playback/record_stream_path().
Tanu Kaskinen [Sat, 15 Aug 2009 03:18:41 +0000 (06:18 +0300)]
dbusiface-device: Implement the Device and DevicePort D-Bus interfaces.
Tanu Kaskinen [Sat, 15 Aug 2009 03:13:17 +0000 (06:13 +0300)]
dbus-protocol: Use pa_hashmap_remove() instead of _get().
Tanu Kaskinen [Sat, 15 Aug 2009 03:11:38 +0000 (06:11 +0300)]
dbusiface-core: New function: pa_dbusiface_core_get_card_path().
Tanu Kaskinen [Sat, 15 Aug 2009 03:09:35 +0000 (06:09 +0300)]
dbusiface-card: Fix the OwnerModule property type in handle_get_all().
Tanu Kaskinen [Sat, 15 Aug 2009 03:00:46 +0000 (06:00 +0300)]
dbusiface-card: Assert that the profiles list is empty if there's no active
profile.
Tanu Kaskinen [Sat, 15 Aug 2009 02:58:24 +0000 (05:58 +0300)]
dbusiface-card: Use the ++ operator like it's meant to be used.
Tanu Kaskinen [Sat, 15 Aug 2009 02:53:36 +0000 (05:53 +0300)]
dbusiface-card-profile: Assert the core argument isn't NULL.
Tanu Kaskinen [Sat, 15 Aug 2009 02:51:55 +0000 (05:51 +0300)]
dbusiface-card: Split some overly long lines.
Lennart Poettering [Sat, 15 Aug 2009 01:42:16 +0000 (03:42 +0200)]
ladspa/remap: sync latency flags from master sink when moving between sinks
Lennart Poettering [Sat, 15 Aug 2009 01:41:13 +0000 (03:41 +0200)]
core: introduce pa_{sink|source}_update_flags()
Marc-André Lureau [Mon, 20 Jul 2009 10:53:17 +0000 (13:53 +0300)]
pulse: even in case of record stream, let's initialize req_bytes to 0
Marc-André Lureau [Mon, 20 Jul 2009 10:44:27 +0000 (13:44 +0300)]
bluetooth: fix typo with service_{read,write}_type
Marc-André Lureau [Mon, 6 Jul 2009 14:50:51 +0000 (17:50 +0300)]
bluetooth: don't call pa_sink_render with 0 bytes request
Juho Hämäläinen [Wed, 12 Aug 2009 15:30:14 +0000 (18:30 +0300)]
database: simple hashmap based database implementation
Maarten Bosmans [Fri, 14 Aug 2009 23:35:53 +0000 (01:35 +0200)]
combine: determine sample parameters of combined sink from underlying sinks
http://pulseaudio.org/ticket/521
Lennart Poettering [Fri, 14 Aug 2009 23:16:57 +0000 (01:16 +0200)]
combine: warn when the latency of a stream gets too high
Lennart Poettering [Fri, 14 Aug 2009 23:07:37 +0000 (01:07 +0200)]
combine: big rework
Lennart Poettering [Fri, 14 Aug 2009 23:04:21 +0000 (01:04 +0200)]
combine: drop adjust_timestamp variable because it is unused
Lennart Poettering [Fri, 14 Aug 2009 23:02:16 +0000 (01:02 +0200)]
ladspa: name sink after human readable plugin name, not the id string
Lennart Poettering [Fri, 14 Aug 2009 23:01:52 +0000 (01:01 +0200)]
module-ladspa: allow moving of sink, forward fixed latency
Lennart Poettering [Fri, 14 Aug 2009 22:59:26 +0000 (00:59 +0200)]
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.
Lennart Poettering [Fri, 14 Aug 2009 22:58:19 +0000 (00:58 +0200)]
ladspa: move LADSPA_Data size check to compile time
Lennart Poettering [Fri, 14 Aug 2009 22:57:36 +0000 (00:57 +0200)]
remap: unify argument order with other modules
Lennart Poettering [Fri, 14 Aug 2009 22:55:31 +0000 (00:55 +0200)]
hook-list: make use of PA_LLIST_FOREACH
Lennart Poettering [Fri, 14 Aug 2009 22:54:51 +0000 (00:54 +0200)]
native-protocol: downgrade volume change log messages
Lennart Poettering [Fri, 14 Aug 2009 22:54:25 +0000 (00:54 +0200)]
core: document difference between IO and main thread view on requested latency
Lennart Poettering [Fri, 14 Aug 2009 22:54:02 +0000 (00:54 +0200)]
core: don't update latency range if not changed
Lennart Poettering [Fri, 14 Aug 2009 22:52:50 +0000 (00:52 +0200)]
core: call pa_sink_get_latency_within_thread() instead of going directly via process_msg()
Lennart Poettering [Fri, 14 Aug 2009 22:48:14 +0000 (00:48 +0200)]
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.
Lennart Poettering [Fri, 14 Aug 2009 22:26:00 +0000 (00:26 +0200)]
core: move rtpoll to thread_info sub structure
Lennart Poettering [Fri, 14 Aug 2009 22:16:25 +0000 (00:16 +0200)]
log: place more rate limit invocations
Lennart Poettering [Fri, 14 Aug 2009 22:15:18 +0000 (00:15 +0200)]
rescure-stream: handle failed moves as well as dying sinks/sources
Lennart Poettering [Fri, 14 Aug 2009 22:12:53 +0000 (00:12 +0200)]
core: split of FAIL_ON_SUSPEND into KILL_ON_SUSPEND and NO_CREATE_ON_SUSPEND
Lennart Poettering [Fri, 14 Aug 2009 22:05:17 +0000 (00:05 +0200)]
native: handle moving() callback with NULL destination properly
Lennart Poettering [Fri, 14 Aug 2009 22:03:50 +0000 (00:03 +0200)]
core: introduce pa_{sink_input|source_output}_fail_move()
Lennart Poettering [Fri, 14 Aug 2009 21:55:32 +0000 (23:55 +0200)]
module-stream-restore: don't fiddle with sinks/sources/streams that are not fully set up yet
Lennart Poettering [Fri, 14 Aug 2009 18:03:30 +0000 (20:03 +0200)]
volume: guarantee dB/linear conversion is reversible
Lennart Poettering [Fri, 14 Aug 2009 17:31:05 +0000 (19:31 +0200)]
protocol-native: log explicitly each time a client triggers a volume change
Lennart Poettering [Fri, 14 Aug 2009 17:28:18 +0000 (19:28 +0200)]
daemon: reset gids too, not just uids
Lennart Poettering [Fri, 14 Aug 2009 02:21:09 +0000 (04:21 +0200)]
resampler: round up when estimating input/output sizes
Lennart Poettering [Fri, 14 Aug 2009 02:18:23 +0000 (04:18 +0200)]
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.
Lennart Poettering [Fri, 14 Aug 2009 02:17:48 +0000 (04:17 +0200)]
asyncmsgq: add pa_asyncmsgq_flush() call
Lennart Poettering [Fri, 14 Aug 2009 02:16:28 +0000 (04:16 +0200)]
memblockq: add pa_memblockq_get_maxrewind() API
Lennart Poettering [Fri, 14 Aug 2009 02:14:35 +0000 (04:14 +0200)]
shm: bump shm size limit to 1GB
Lennart Poettering [Fri, 14 Aug 2009 02:12:36 +0000 (04:12 +0200)]
pacmd: handle multi word commands in argv[] properly
Lennart Poettering [Thu, 13 Aug 2009 00:17:24 +0000 (02:17 +0200)]
core: add functions to query max_rewind/max_request values from streams
Lennart Poettering [Thu, 13 Aug 2009 00:14:19 +0000 (02:14 +0200)]
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)
Lennart Poettering [Wed, 12 Aug 2009 19:43:06 +0000 (21:43 +0200)]
start-child: clean up child environment a bit better
Lennart Poettering [Wed, 12 Aug 2009 19:42:02 +0000 (21:42 +0200)]
pacmd: port pacmd from select() to poll() so that we notice writer side hangups
Lennart Poettering [Wed, 12 Aug 2009 19:40:38 +0000 (21:40 +0200)]
memblock: rate limit 'Pool full' message
Lennart Poettering [Wed, 12 Aug 2009 19:40:12 +0000 (21:40 +0200)]
context: document why we only do minimal cleanups before the autospawn exec()
Lennart Poettering [Wed, 12 Aug 2009 19:37:40 +0000 (21:37 +0200)]
daemon: reset scheduling priority on startup, too
Lennart Poettering [Wed, 12 Aug 2009 19:36:52 +0000 (21:36 +0200)]
core-util: move personality resetting into core-util
Lennart Poettering [Wed, 12 Aug 2009 19:35:48 +0000 (21:35 +0200)]
daemon: unconditionally clean up priviliges
Lennart Poettering [Wed, 12 Aug 2009 18:15:28 +0000 (20:15 +0200)]
conf: invert all negative boolean configuration option
Lennart Poettering [Wed, 12 Aug 2009 18:14:31 +0000 (20:14 +0200)]
conf: add pa_config_parse_not_bool() for parsing inverse boolean configuration options
Lennart Poettering [Tue, 11 Aug 2009 23:50:24 +0000 (01:50 +0200)]
daemon: install D-Bus system policy file for PA system instances
Original patch from 'mgrela'.
http://pulseaudio.org/ticket/582
Lennart Poettering [Tue, 11 Aug 2009 22:56:10 +0000 (00:56 +0200)]
alsa: enable ext. amplifier by default
Lennart Poettering [Tue, 11 Aug 2009 22:53:38 +0000 (00:53 +0200)]
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
Lennart Poettering [Tue, 11 Aug 2009 21:19:28 +0000 (23:19 +0200)]
volume-restore: forward module load return value of stream-restore back to caller
Lennart Poettering [Tue, 11 Aug 2009 21:18:01 +0000 (23:18 +0200)]
hal: replace subdevs= parameter by subdevices= parameter
Abbreviating tsched like this was bad enough, so let's not add another
option here.
Lennart Poettering [Tue, 11 Aug 2009 21:06:44 +0000 (23:06 +0200)]
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.
Lennart Poettering [Tue, 11 Aug 2009 21:04:35 +0000 (23:04 +0200)]
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.
Lennart Poettering [Mon, 10 Aug 2009 19:43:03 +0000 (21:43 +0200)]
Revert "build-sys: drop libcap checks, since we don't use caps anymore"
This reverts commit
9ade13604e98378e68a82b82ba260869714474b4.
Lennart Poettering [Mon, 10 Aug 2009 19:34:03 +0000 (21:34 +0200)]
Merge commit 'origin/master-tx'
Lennart Poettering [Mon, 10 Aug 2009 19:33:42 +0000 (21:33 +0200)]
Merge commit 'flameeyes/master'
Maxim Levitsky [Sun, 9 Aug 2009 00:01:08 +0000 (03:01 +0300)]
Correctly deal with events in the past in calc_next_timeout
pa_usec_t is unsigned, thus it will always be >= 0
This makes gstreamer pulse mixer work again
This fixes a gstreamer mixer regression, when it can't control the volume,
after few changes.
logan [Mon, 10 Aug 2009 17:37:00 +0000 (17:37 +0000)]
Sending translation for Spanish
Tanu Kaskinen [Mon, 10 Aug 2009 07:40:40 +0000 (10:40 +0300)]
dbus-protocol: Fix signal sending for the case when the client doesn't listen
for all signals.
Tanu Kaskinen [Mon, 10 Aug 2009 07:38:01 +0000 (10:38 +0300)]
dbus-protocol: Add a note for _send_signal that by default the signal isn't
actually sent.
Tanu Kaskinen [Sun, 9 Aug 2009 07:36:20 +0000 (10:36 +0300)]
dbusiface-card-profile: Implement the CardProfile D-Bus interface.
Tanu Kaskinen [Sun, 9 Aug 2009 06:20:22 +0000 (09:20 +0300)]
dbusiface-card: Implement the Card D-Bus interface.
Tanu Kaskinen [Sun, 9 Aug 2009 06:19:33 +0000 (09:19 +0300)]
dbus-protocol: Take advantage of the helpers in dbus-util.
Tanu Kaskinen [Sun, 9 Aug 2009 06:18:03 +0000 (09:18 +0300)]
dbus-protocol: Split some overly long lines.
Tanu Kaskinen [Sun, 9 Aug 2009 06:14:27 +0000 (09:14 +0300)]
dbus-util: Trivial comment punctuation fix.
Tanu Kaskinen [Sun, 9 Aug 2009 06:12:31 +0000 (09:12 +0300)]
dbus-util: Add helpers for proplist handling.
Tanu Kaskinen [Sun, 9 Aug 2009 06:10:05 +0000 (09:10 +0300)]
dbusiface-core: Add functions for getting various object paths.
Tanu Kaskinen [Sun, 9 Aug 2009 06:06:21 +0000 (09:06 +0300)]
dbusiface-core: Generate more informative error messages.