Lennart Poettering [Sun, 3 Aug 2008 21:23:46 +0000 (23:23 +0200)]
load module-device-restore and module-stream-restore by default, don't load module-volume-restore anymore
Lennart Poettering [Sun, 3 Aug 2008 21:23:13 +0000 (23:23 +0200)]
add new module module-stream-restore
Lennart Poettering [Sun, 3 Aug 2008 21:22:38 +0000 (23:22 +0200)]
a bit of refactoring
Lennart Poettering [Sun, 3 Aug 2008 21:21:51 +0000 (23:21 +0200)]
fix uninitialized memory access
Lennart Poettering [Sun, 3 Aug 2008 21:21:06 +0000 (23:21 +0200)]
define CANONICAL_HOST as macro for the GNU canonical host
Lennart Poettering [Sun, 3 Aug 2008 16:56:10 +0000 (18:56 +0200)]
add extension system for native protocol
Lennart Poettering [Sun, 3 Aug 2008 16:55:42 +0000 (18:55 +0200)]
store load_once flag for module
Lennart Poettering [Sun, 3 Aug 2008 16:54:55 +0000 (18:54 +0200)]
add a new error code PA_ERR_NOEXTENSION
Lennart Poettering [Sun, 3 Aug 2008 16:53:43 +0000 (18:53 +0200)]
start idle timer even when no module is ever loaded
Lennart Poettering [Sun, 3 Aug 2008 15:00:52 +0000 (17:00 +0200)]
some pa_bool_t'ization
Sjoerd Simons [Sun, 3 Aug 2008 11:45:35 +0000 (12:45 +0100)]
fix iteration over random devices
Actually iterate over the various random devices. Fixes a infinite loop on
startup when /dev/urandom isn't readable. Patch by Matt Kraai on Debian bug
491270, closes #333
Signed-off-by: Lennart Poettering <lennart@poettering.net>
Lennart Poettering [Sun, 3 Aug 2008 14:44:38 +0000 (16:44 +0200)]
make all protocol objects global singletons
Lennart Poettering [Sun, 3 Aug 2008 14:43:51 +0000 (16:43 +0200)]
use pa_channel_map_init_extend() instead of pa_channel_map_init_auto() to make things more robust
Lennart Poettering [Sun, 3 Aug 2008 14:42:41 +0000 (16:42 +0200)]
simplify a bit
Lennart Poettering [Sun, 3 Aug 2008 14:42:16 +0000 (16:42 +0200)]
add new api function pa_cli_get_module()
Lennart Poettering [Sun, 3 Aug 2008 14:41:52 +0000 (16:41 +0200)]
introduce pa_cli_eof_cb_t
Lennart Poettering [Sun, 3 Aug 2008 14:21:08 +0000 (16:21 +0200)]
rename pa_hook_free() to pa_hook_done() since the hook struct is allocated on the stack not via malloc
Lennart Poettering [Sun, 3 Aug 2008 14:17:50 +0000 (16:17 +0200)]
use @ as seperator between shared name variable and instance
Lennart Poettering [Sun, 3 Aug 2008 14:17:17 +0000 (16:17 +0200)]
make sure we don't leak userdata struct
Lennart Poettering [Sun, 3 Aug 2008 14:16:22 +0000 (16:16 +0200)]
allow running of PA with a valgring that doesn't know cap_set_caps
Lennart Poettering [Sun, 3 Aug 2008 14:15:37 +0000 (16:15 +0200)]
add new auth cookie singleton
Lennart Poettering [Thu, 31 Jul 2008 23:10:54 +0000 (02:10 +0300)]
rename props.[ch] to shared.[ch]
Lennart Poettering [Thu, 31 Jul 2008 22:56:09 +0000 (01:56 +0300)]
rename pa_property_xxx to pa_shared_xxx to avoid confusion with property lists
Lennart Poettering [Thu, 31 Jul 2008 22:54:53 +0000 (01:54 +0300)]
fix build without ALSA
Lennart Poettering [Thu, 31 Jul 2008 20:34:09 +0000 (23:34 +0300)]
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
Stanley Cai [Thu, 31 Jul 2008 13:34:47 +0000 (21:34 +0800)]
A fix on src/Makefile.am
It needs dbus not hal to build module-console-kit.so
Signed-off-by: Lennart Poettering <lennart@poettering.net>
Lennart Poettering [Thu, 31 Jul 2008 19:25:58 +0000 (21:25 +0200)]
a bit of pa_bool_t'ization
Lennart Poettering [Thu, 31 Jul 2008 19:24:23 +0000 (21:24 +0200)]
allow global tsched setting for all modules loaded by module-hal
Lennart Poettering [Thu, 31 Jul 2008 19:22:43 +0000 (21:22 +0200)]
reword comment on dbus a bit
Lennart Poettering [Wed, 30 Jul 2008 23:25:33 +0000 (01:25 +0200)]
Work around D-Bus bug that involves dbus_shutdown() to call exit() when it shouldn't. Patch from Coling Guthrie
Lennart Poettering [Wed, 30 Jul 2008 18:36:34 +0000 (20:36 +0200)]
don't allow --start in system mode
Lennart Poettering [Wed, 30 Jul 2008 15:16:59 +0000 (17:16 +0200)]
use the right LIBICONV macro, spotted by woglinde, closes #324
Lennart Poettering [Wed, 30 Jul 2008 15:01:31 +0000 (17:01 +0200)]
bump needed automake version
Lennart Poettering [Wed, 30 Jul 2008 14:59:30 +0000 (16:59 +0200)]
install a default system.pa
Petteri Räty [Sat, 26 Jul 2008 20:04:09 +0000 (23:04 +0300)]
Make the alsa error message give out the needed version.
Lennart Poettering [Wed, 30 Jul 2008 12:21:11 +0000 (14:21 +0200)]
don't pass rediculously high values to umask()
Lennart Poettering [Wed, 30 Jul 2008 11:44:20 +0000 (13:44 +0200)]
remove debug message
Lennart Poettering [Tue, 29 Jul 2008 13:36:25 +0000 (15:36 +0200)]
hide doxygen docs from git
Lennart Poettering [Tue, 29 Jul 2008 13:36:00 +0000 (15:36 +0200)]
fix two thinkos in signal reset/close_all code
Lennart Poettering [Thu, 24 Jul 2008 01:02:09 +0000 (03:02 +0200)]
make module-hal and module-ck live together in peace
Lennart Poettering [Thu, 24 Jul 2008 00:21:58 +0000 (02:21 +0200)]
fix destruction of dbus modules: make sure we don't leave filter function registered after unreffing the dbus connection
Lennart Poettering [Wed, 23 Jul 2008 23:32:00 +0000 (01:32 +0200)]
hide start-pulseaudio-x11
Lennart Poettering [Wed, 23 Jul 2008 23:31:33 +0000 (01:31 +0200)]
reset dbus error struct before retrying parsing messages
Lennart Poettering [Wed, 23 Jul 2008 20:46:39 +0000 (22:46 +0200)]
add missing pieces for new startup logic
Lennart Poettering [Wed, 23 Jul 2008 20:44:41 +0000 (22:44 +0200)]
bump api verson
Lennart Poettering [Wed, 23 Jul 2008 14:59:55 +0000 (16:59 +0200)]
follow consolekit's recent D-Bus API change, original patch from William Jon McCan
Lennart Poettering [Wed, 23 Jul 2008 14:50:48 +0000 (16:50 +0200)]
allow module-x11-xsmp to be loaded more than once
Lennart Poettering [Wed, 23 Jul 2008 14:50:16 +0000 (16:50 +0200)]
don't break if we fail to resume access to an audio device
Lennart Poettering [Wed, 23 Jul 2008 00:00:28 +0000 (02:00 +0200)]
bump alsa dep to 1.0.17
Lennart Poettering [Wed, 23 Jul 2008 00:00:09 +0000 (02:00 +0200)]
make missing gdbm fatal (spotted by Betelgeuse)
Lennart Poettering [Tue, 22 Jul 2008 19:13:46 +0000 (21:13 +0200)]
don't drop caps if we are started as normal root user
Lennart Poettering [Tue, 22 Jul 2008 17:45:18 +0000 (19:45 +0200)]
enable exit-on-idle by default
Lennart Poettering [Mon, 21 Jul 2008 16:55:17 +0000 (18:55 +0200)]
prepare doxygen docs for 0.9.11
Lennart Poettering [Mon, 21 Jul 2008 16:53:30 +0000 (18:53 +0200)]
fix gconf autoconf check
Lennart Poettering [Wed, 16 Jul 2008 09:28:46 +0000 (11:28 +0200)]
forward process_msg calls to the generic source handler, not the generic sink handler
Lennart Poettering [Wed, 16 Jul 2008 09:12:07 +0000 (11:12 +0200)]
try to bypass alsa softvol, since it is broken when used with snd_pcm_rewind()
Lennart Poettering [Thu, 3 Jul 2008 21:34:32 +0000 (00:34 +0300)]
Merge branches 'master' and 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
Lennart Poettering [Sat, 28 Jun 2008 00:20:14 +0000 (02:20 +0200)]
get rid of our internal copy of the speex resampler. Instead, link against a system-installes libspeexdsp
Lennart Poettering [Fri, 27 Jun 2008 23:09:07 +0000 (01:09 +0200)]
add proper update_max_request handler to native protocol streams
Lennart Poettering [Fri, 27 Jun 2008 22:14:46 +0000 (00:14 +0200)]
make sure we call pa_sink_process_rewind() under all circumstances if a rewind was requested before we call pa_sink_render()
Lennart Poettering [Fri, 27 Jun 2008 20:48:19 +0000 (22:48 +0200)]
ignore ~ files
Lennart Poettering [Fri, 27 Jun 2008 20:26:27 +0000 (22:26 +0200)]
add additional file when updating speex resampler
Lennart Poettering [Fri, 27 Jun 2008 20:26:00 +0000 (22:26 +0200)]
update speex resampler
Lennart Poettering [Fri, 27 Jun 2008 20:03:44 +0000 (22:03 +0200)]
update ffmpeg resampler from upstream SVN
Lennart Poettering [Fri, 27 Jun 2008 19:58:39 +0000 (21:58 +0200)]
simplify handling of rewrite requests
Lennart Poettering [Fri, 27 Jun 2008 19:57:54 +0000 (21:57 +0200)]
handle rewind requests
Lennart Poettering [Fri, 27 Jun 2008 19:57:44 +0000 (21:57 +0200)]
handle rewind requests
Lennart Poettering [Fri, 27 Jun 2008 19:37:33 +0000 (21:37 +0200)]
save a bit of memory
Lennart Poettering [Fri, 27 Jun 2008 18:34:14 +0000 (20:34 +0200)]
modernize idxset a bit, reduce memory consumption, get rid of pa_idxset_foreach()
Lennart Poettering [Fri, 27 Jun 2008 18:13:26 +0000 (20:13 +0200)]
halve memory consumption of mempool flist, since we know we cannot have more than n_blocks entries in it
Lennart Poettering [Fri, 27 Jun 2008 18:12:24 +0000 (20:12 +0200)]
modernize hashmap implementation a bit, reduce memory consumption a bit
Lennart Poettering [Fri, 27 Jun 2008 17:18:19 +0000 (19:18 +0200)]
rework the flist implementation to halve memory consumption by merging the state field and the pointer in the flist cells
Lennart Poettering [Fri, 27 Jun 2008 17:15:32 +0000 (19:15 +0200)]
some modernizations
Lennart Poettering [Fri, 27 Jun 2008 17:14:59 +0000 (19:14 +0200)]
rename pa_queu_is_empty() to pa_queue_isempty() to follow idxset/hashmap nomenclatura
Lennart Poettering [Fri, 27 Jun 2008 17:12:03 +0000 (19:12 +0200)]
save some memory by increasing the dynamic array at a slower rate
Lennart Poettering [Fri, 27 Jun 2008 17:11:28 +0000 (19:11 +0200)]
some modernizations
Lennart Poettering [Fri, 27 Jun 2008 15:17:11 +0000 (17:17 +0200)]
fix typo in man page, closes rhbz #447355
Lennart Poettering [Thu, 26 Jun 2008 22:35:40 +0000 (00:35 +0200)]
fix underrun detection for prebuf=0 streams
Lennart Poettering [Thu, 26 Jun 2008 22:34:17 +0000 (00:34 +0200)]
use (uint32_t) -1 to signify default buffer_attr values instead of 0, to allow prebuf=0
Lennart Poettering [Thu, 26 Jun 2008 22:28:42 +0000 (00:28 +0200)]
fix crash when using sync'ed streams
Lennart Poettering [Thu, 26 Jun 2008 22:28:17 +0000 (00:28 +0200)]
cork/uncork before we ask for the rewrite, to make sure the rewrite actually gets trhough
Lennart Poettering [Thu, 26 Jun 2008 17:43:45 +0000 (19:43 +0200)]
always forward rewind requests to the sink, and don't abort on nbytes=0
Lennart Poettering [Thu, 26 Jun 2008 17:35:42 +0000 (19:35 +0200)]
some svn->git updates in the Makefile
Lennart Poettering [Thu, 26 Jun 2008 17:03:53 +0000 (19:03 +0200)]
rework logic to request automatic timing updates a bit
Lennart Poettering [Thu, 26 Jun 2008 17:03:16 +0000 (19:03 +0200)]
reorder a few things to get rid of an uneeded comparison
Lennart Poettering [Thu, 26 Jun 2008 17:02:14 +0000 (19:02 +0200)]
add a FIXME
Lennart Poettering [Thu, 26 Jun 2008 17:01:51 +0000 (19:01 +0200)]
move initialization order of validity bools around a bit
Lennart Poettering [Thu, 26 Jun 2008 17:00:42 +0000 (19:00 +0200)]
unify smoother pause/resume handling in a single function check_smoother_status()
Lennart Poettering [Thu, 26 Jun 2008 16:49:02 +0000 (18:49 +0200)]
convert to double only once, and make sure we can deal with negative results of -y
Lennart Poettering [Thu, 26 Jun 2008 00:56:00 +0000 (02:56 +0200)]
make sure to call process_rewind() under all circumstances before we do the next loop iteration
Lennart Poettering [Wed, 25 Jun 2008 22:44:19 +0000 (00:44 +0200)]
use the newer name for monotonic/monotonous
Lennart Poettering [Wed, 25 Jun 2008 22:43:30 +0000 (00:43 +0200)]
remove redundant check
Lennart Poettering [Wed, 25 Jun 2008 22:42:09 +0000 (00:42 +0200)]
properly initialize pa_stream::corked based on the flags
Lennart Poettering [Wed, 25 Jun 2008 22:39:31 +0000 (00:39 +0200)]
split pa_memblockq_flush() into two flush commands, one which fixes up the read ptr, and one which fixes up the write ptr
Lennart Poettering [Wed, 25 Jun 2008 22:36:05 +0000 (00:36 +0200)]
comment two functions in memblockq.c
Lennart Poettering [Wed, 25 Jun 2008 22:33:07 +0000 (00:33 +0200)]
use the bight lighter _silence() instead of _flush() when destructing our little q
Lennart Poettering [Wed, 25 Jun 2008 22:31:39 +0000 (00:31 +0200)]
fix up if the smoother shall be resumed 'before' it was actually paused
Lennart Poettering [Wed, 25 Jun 2008 22:29:59 +0000 (00:29 +0200)]
fix up monotonicity of input to _get() instead of hitting an assert
Lennart Poettering [Wed, 25 Jun 2008 22:27:54 +0000 (00:27 +0200)]
call the enum PA_STREAM_NOT_MONOTONIC and make PA_STREAM_NOT_MONOTONOUS an alias for that
Lennart Poettering [Wed, 25 Jun 2008 22:27:02 +0000 (00:27 +0200)]
fix return value of pa_namereg_make_valid_name()