Lennart Poettering [Fri, 3 Oct 2008 23:07:38 +0000 (01:07 +0200)]
increase suspend timeout to 5s so that it is always longer then the default tsched buffer size of 2s
Lennart Poettering [Fri, 3 Oct 2008 23:07:08 +0000 (01:07 +0200)]
don't call snd_pcm_drain() when we suspend because that might take awfully long with our long buffer sizes these days
Lennart Poettering [Fri, 3 Oct 2008 23:06:35 +0000 (01:06 +0200)]
add missing inclusion
Lennart Poettering [Fri, 3 Oct 2008 22:14:02 +0000 (00:14 +0200)]
do not cleanup staticly allocated memory unless we are in valgrind mode
Lennart Poettering [Fri, 3 Oct 2008 22:13:29 +0000 (00:13 +0200)]
show valgrind status on startup
Lennart Poettering [Fri, 3 Oct 2008 22:13:05 +0000 (00:13 +0200)]
instead of checking for directly use new function pa_in_valgrind()
Lennart Poettering [Fri, 3 Oct 2008 22:10:43 +0000 (00:10 +0200)]
add new API function pa_in_valgrind() to check for
Lennart Poettering [Fri, 3 Oct 2008 20:21:27 +0000 (22:21 +0200)]
rename pa_cvolume_snprint_dB to pa_sw_cvolume_snprint_dB since it is
useful only for software volumes
Lennart Poettering [Fri, 3 Oct 2008 17:49:15 +0000 (19:49 +0200)]
allow - in sample names
Lennart Poettering [Fri, 3 Oct 2008 15:45:55 +0000 (17:45 +0200)]
increase PA_CVOLUME_SNPRINT_MAX to a proper value and document that it is not considered part of the ABI
Lennart Poettering [Fri, 3 Oct 2008 15:45:04 +0000 (17:45 +0200)]
when checking the validity of a cvolume check whether all values are not -1
Lennart Poettering [Fri, 3 Oct 2008 15:44:17 +0000 (17:44 +0200)]
add missing calls to map file
Lennart Poettering [Fri, 3 Oct 2008 15:43:40 +0000 (17:43 +0200)]
add new API call pa_cvolume_compatible()
Lennart Poettering [Fri, 3 Oct 2008 15:42:38 +0000 (17:42 +0200)]
add new API call pa_cvolume_snprint_dB()
Lennart Poettering [Fri, 3 Oct 2008 15:16:55 +0000 (17:16 +0200)]
add new API call pa_cvolume_init()
Lennart Poettering [Fri, 3 Oct 2008 15:15:43 +0000 (17:15 +0200)]
extend documentation for pa_channel_map_init()
Lennart Poettering [Fri, 3 Oct 2008 15:14:58 +0000 (17:14 +0200)]
make a few casts explicit to remove compiler warnings
Lennart Poettering [Fri, 3 Oct 2008 15:14:35 +0000 (17:14 +0200)]
a bit of late pa_bool_t'ization
Lennart Poettering [Fri, 3 Oct 2008 15:14:02 +0000 (17:14 +0200)]
treat a channel map only then as compatible with a sample spec if it is valid
Lennart Poettering [Fri, 3 Oct 2008 15:13:17 +0000 (17:13 +0200)]
add new API function pa_sample_spec_init()
Lennart Poettering [Fri, 3 Oct 2008 13:16:26 +0000 (15:16 +0200)]
if a volume or channel map is invalid show so when printing it
Lennart Poettering [Fri, 3 Oct 2008 00:34:59 +0000 (02:34 +0200)]
user lrint() and friends in inner loops instead of normal C casts to speed up a few things
Lennart Poettering [Fri, 3 Oct 2008 00:33:44 +0000 (02:33 +0200)]
use PA_FLOAT32_SWAP where useful
Lennart Poettering [Thu, 2 Oct 2008 23:53:34 +0000 (01:53 +0200)]
optimize mixing routines a bit by pulling the multiplication with the global volume out of the inner loop by applying it first to the per-stream volumes
Lennart Poettering [Thu, 2 Oct 2008 01:07:54 +0000 (03:07 +0200)]
make sure we call pa_sink_process_rewind() if a rewind was requested under all circumstances
Lennart Poettering [Thu, 2 Oct 2008 00:29:56 +0000 (02:29 +0200)]
when we mix into a 16bit accumulator make sure we clamp before we scale with a volume to avoid range faults when multiplying
Lennart Poettering [Wed, 1 Oct 2008 23:15:58 +0000 (01:15 +0200)]
properly parse response to pa_stream_set_buffer_attr() calls. closes #370
Lennart Poettering [Wed, 1 Oct 2008 23:02:31 +0000 (01:02 +0200)]
inform dsp_empty_socket() *after* we emptied the dsp socket, that it is now empty
Lennart Poettering [Wed, 1 Oct 2008 22:04:02 +0000 (00:04 +0200)]
make simple protocol not crash when allocating a memory block
Lennart Poettering [Wed, 1 Oct 2008 21:42:32 +0000 (23:42 +0200)]
when killing gconf helper, loop over EINTR
Lennart Poettering [Wed, 1 Oct 2008 12:49:00 +0000 (14:49 +0200)]
PA_WARN_REFERENCE works only for ELF targets
Lennart Poettering [Wed, 1 Oct 2008 02:15:05 +0000 (04:15 +0200)]
don't hit an assert if a kernel driver reports invalid dB information, instead just warn the user
Lennart Poettering [Wed, 1 Oct 2008 01:54:01 +0000 (03:54 +0200)]
remove useless log message
Lennart Poettering [Wed, 1 Oct 2008 01:44:03 +0000 (03:44 +0200)]
remove useless log message, re #367
Lennart Poettering [Wed, 1 Oct 2008 01:26:45 +0000 (03:26 +0200)]
fix support for ALSA devices which lack dB information
Lennart Poettering [Tue, 30 Sep 2008 23:59:50 +0000 (01:59 +0200)]
it's --daemonize, not --daemon
Lennart Poettering [Tue, 30 Sep 2008 23:52:14 +0000 (01:52 +0200)]
Merge commit 'coling/master'
Lennart Poettering [Tue, 30 Sep 2008 23:31:56 +0000 (01:31 +0200)]
a few FreeBSD fixes, from alexis
Signed-off-by: Lennart Poettering <lennart@poettering.net>
Lennart Poettering [Tue, 30 Sep 2008 23:24:47 +0000 (01:24 +0200)]
replace module-volume-restore by module-stream-restore in system mode, too
Lennart Poettering [Tue, 30 Sep 2008 23:23:35 +0000 (01:23 +0200)]
it might be a bit too early to initialize bluetooth by default for now, since it's still very rough around the edges
Lennart Poettering [Tue, 30 Sep 2008 23:19:01 +0000 (01:19 +0200)]
fix typo in default.conf, closes bug #354
Lennart Poettering [Tue, 30 Sep 2008 23:16:43 +0000 (01:16 +0200)]
follow PropertyChanged signals from BlueZ
Lennart Poettering [Tue, 30 Sep 2008 23:15:44 +0000 (01:15 +0200)]
Some man page updates, add missing documentation, other fixes.
Lennart Poettering [Tue, 30 Sep 2008 23:14:36 +0000 (01:14 +0200)]
Make the shared memory segment size configurable
This is useful only on systems where memory overcommit is not available
or disabled.
Nix [Fri, 26 Sep 2008 18:29:17 +0000 (19:29 +0100)]
esound auth-ip-acl fix
[...]
iv) module-protocol-stub has a one-character typo that breaks
auth-ip-acl for the esound TCP module, patch:
Unbreak esound auth-ip-acl.
Signed-off-by: Lennart Poettering <lennart@poettering.net>
Stelian Ionescu [Mon, 22 Sep 2008 22:26:31 +0000 (00:26 +0200)]
have make_random_dir respect $TMPDIR
with the attached patch, make_random_dir first tries to use $TMPDIR,
then $TMP finally defaulting to "/tmp"
Signed-off-by: Lennart Poettering <lennart@poettering.net>
Lennart Poettering [Mon, 29 Sep 2008 19:45:00 +0000 (21:45 +0200)]
make module-bluetooth-discover actually load modules and smaller other fixes
Lennart Poettering [Mon, 29 Sep 2008 19:43:28 +0000 (21:43 +0200)]
all kinds of minor type, memory leak, initializatio fixes
Lennart Poettering [Mon, 29 Sep 2008 19:42:29 +0000 (21:42 +0200)]
instead of failing when the requested sampling rate is not available find the next one that is higher
Lennart Poettering [Mon, 29 Sep 2008 19:40:52 +0000 (21:40 +0200)]
Use the same module parameter names for module-bluetooth-device as for most other modules
Lennart Poettering [Mon, 29 Sep 2008 19:36:42 +0000 (21:36 +0200)]
use TRUE for pa_bool_t arguments
Lennart Poettering [Mon, 29 Sep 2008 19:34:18 +0000 (21:34 +0200)]
remove a few compiler warnings in BlueZ code
Lennart Poettering [Sat, 27 Sep 2008 14:31:56 +0000 (16:31 +0200)]
fix compilation errors in priority queue code
Lennart Poettering [Fri, 26 Sep 2008 16:51:25 +0000 (09:51 -0700)]
ignore bt proximity helper
Lennart Poettering [Fri, 26 Sep 2008 16:49:52 +0000 (09:49 -0700)]
add a generic priority queue implementation
Lennart Poettering [Fri, 26 Sep 2008 16:35:49 +0000 (09:35 -0700)]
make pa_idxset_trivial_compare_func() do a full compare instea of just equakity check
Lennart Poettering [Fri, 26 Sep 2008 16:35:00 +0000 (09:35 -0700)]
some minor fixes and cleanups in the bt code
Lennart Poettering [Fri, 12 Sep 2008 14:39:08 +0000 (17:39 +0300)]
make sure ~/.pulse exists before we create the runtime dir link beneath it
Lennart Poettering [Wed, 10 Sep 2008 22:41:08 +0000 (01:41 +0300)]
replace Makefile stub copies by symlinks
Lennart Poettering [Wed, 10 Sep 2008 22:40:40 +0000 (01:40 +0300)]
enable bluetooth by default
Lennart Poettering [Wed, 10 Sep 2008 22:40:18 +0000 (01:40 +0300)]
downgrade a D-Bus log message to debug
Lennart Poettering [Wed, 10 Sep 2008 22:39:20 +0000 (01:39 +0300)]
add trivial redirecting makefile to bt dir
João Paulo Rechi Vita [Sun, 31 Aug 2008 12:22:36 +0000 (09:22 -0300)]
Move bluetooth proximity module to src/modules/bluetooth/
João Paulo Rechi Vita [Sat, 30 Aug 2008 20:41:00 +0000 (17:41 -0300)]
Change all int vars that doesn't allow negative values to uint
João Paulo Rechi Vita [Fri, 29 Aug 2008 23:22:14 +0000 (20:22 -0300)]
Move bluetooth discover and device modules to src/modules/bluetooth
João Paulo Rechi Vita [Fri, 29 Aug 2008 14:56:12 +0000 (11:56 -0300)]
Cleanup some code
João Paulo Rechi Vita [Fri, 29 Aug 2008 14:46:02 +0000 (11:46 -0300)]
Remove some warnings
João Paulo Rechi Vita [Fri, 29 Aug 2008 14:05:00 +0000 (11:05 -0300)]
Free mempool
Russ Dill [Thu, 28 Aug 2008 13:38:47 +0000 (10:38 -0300)]
Fix "file not found" error on load of module-bt-device for Ubuntu Intrepid Ibex
João Paulo Rechi Vita [Tue, 26 Aug 2008 12:43:48 +0000 (09:43 -0300)]
Merge A2DP and SCO thread functions
João Paulo Rechi Vita [Tue, 26 Aug 2008 01:48:27 +0000 (22:48 -0300)]
Add some more device properties to the sink properties list
João Paulo Rechi Vita [Tue, 26 Aug 2008 01:15:25 +0000 (22:15 -0300)]
Remove check for SIOCOUTQ and add proper includes
João Paulo Rechi Vita [Tue, 26 Aug 2008 00:56:31 +0000 (21:56 -0300)]
Use union instead of different pointer types to the same memory area to make the code C99 compliant
João Paulo Rechi Vita [Fri, 22 Aug 2008 00:31:43 +0000 (21:31 -0300)]
Move render and write to the fd to a separate function
João Paulo Rechi Vita [Thu, 21 Aug 2008 20:36:17 +0000 (17:36 -0300)]
Change MIN/MAX to PA_MIN/PA_MAX
João Paulo Rechi Vita [Thu, 21 Aug 2008 20:34:27 +0000 (17:34 -0300)]
Remove unnecessary initialization of getcaps_req->flags
João Paulo Rechi Vita [Thu, 21 Aug 2008 20:23:16 +0000 (17:23 -0300)]
Remove u->channels and u->rates, since it's redundant info
João Paulo Rechi Vita [Thu, 21 Aug 2008 20:06:41 +0000 (17:06 -0300)]
Fix some memory leaking
João Paulo Rechi Vita [Thu, 21 Aug 2008 18:12:03 +0000 (15:12 -0300)]
Change sbc_initialized to pa_bool_t
João Paulo Rechi Vita [Wed, 20 Aug 2008 13:52:25 +0000 (10:52 -0300)]
pa__done for module-bt-device
João Paulo Rechi Vita [Tue, 19 Aug 2008 20:35:43 +0000 (17:35 -0300)]
Fix some debug messages and other cosmetic changes
João Paulo Rechi Vita [Tue, 19 Aug 2008 19:06:21 +0000 (16:06 -0300)]
Refactor a2dp thread execution flow and improve time estimation
João Paulo Rechi Vita [Sun, 17 Aug 2008 23:36:33 +0000 (20:36 -0300)]
A2DP poorly working
João Paulo Rechi Vita [Sun, 17 Aug 2008 23:35:56 +0000 (20:35 -0300)]
Fix sample size
João Paulo Rechi Vita [Sun, 17 Aug 2008 04:54:12 +0000 (01:54 -0300)]
Fix block_size calculation
João Paulo Rechi Vita [Sat, 16 Aug 2008 19:03:20 +0000 (16:03 -0300)]
Configure bt connection for a2dp
João Paulo Rechi Vita [Sat, 16 Aug 2008 19:00:32 +0000 (16:00 -0300)]
Get rid of hw_constraint function. It's code now lives inside bt_setconf().
João Paulo Rechi Vita [Sat, 16 Aug 2008 16:54:28 +0000 (13:54 -0300)]
Change default sink name to bluetooth_sink
João Paulo Rechi Vita [Fri, 15 Aug 2008 21:13:25 +0000 (18:13 -0300)]
Try to improve time estimation
João Paulo Rechi Vita [Fri, 15 Aug 2008 19:56:26 +0000 (16:56 -0300)]
Fix handling of PA_SINK_MESSAGE_GET_LATENCY
João Paulo Rechi Vita [Fri, 15 Aug 2008 19:23:54 +0000 (16:23 -0300)]
Remove PA_SINK_NETWORK flag and move the passage of streamfd to the rt thread just before the thread creation
João Paulo Rechi Vita [Thu, 14 Aug 2008 23:59:28 +0000 (20:59 -0300)]
Change pa_sink_render to pa_sink_render_into_full and remove some unnecessary checks on the rt thread
João Paulo Rechi Vita [Thu, 14 Aug 2008 23:57:32 +0000 (20:57 -0300)]
Make stream socket non-blocking
João Paulo Rechi Vita [Thu, 14 Aug 2008 23:56:58 +0000 (20:56 -0300)]
Fix block size for SCO
João Paulo Rechi Vita [Thu, 14 Aug 2008 21:12:26 +0000 (18:12 -0300)]
Add include for core-util.h
João Paulo Rechi Vita [Thu, 14 Aug 2008 21:05:01 +0000 (18:05 -0300)]
Initialize rtpoll_item
João Paulo Rechi Vita [Wed, 13 Aug 2008 19:52:28 +0000 (16:52 -0300)]
Add include for sample.h
João Paulo Rechi Vita [Wed, 13 Aug 2008 19:08:20 +0000 (16:08 -0300)]
Change close() to pa_close()
João Paulo Rechi Vita [Wed, 13 Aug 2008 19:07:19 +0000 (16:07 -0300)]
Change strerror() to pa_cstrerror()
João Paulo Rechi Vita [Wed, 13 Aug 2008 19:06:36 +0000 (16:06 -0300)]
Get rid of SINK_MESSAGE_PASS_SOCKET, since we don't really need it