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
João Paulo Rechi Vita [Wed, 13 Aug 2008 18:56:05 +0000 (15:56 -0300)]
Changes for pa_modargs_get_value_u32 for integer arguments and correct some error messages
João Paulo Rechi Vita [Wed, 13 Aug 2008 17:52:26 +0000 (14:52 -0300)]
Copy arguments values instead of just getting a pointer for them
João Paulo Rechi Vita [Tue, 12 Aug 2008 01:54:09 +0000 (22:54 -0300)]
Hand the stream socket to the rt thread
João Paulo Rechi Vita [Mon, 11 Aug 2008 21:10:14 +0000 (18:10 -0300)]
Initial code for rt thread
João Paulo Rechi Vita [Mon, 11 Aug 2008 16:52:59 +0000 (13:52 -0300)]
Fix PA_USEC_PER_SEC missing
João Paulo Rechi Vita [Mon, 11 Aug 2008 16:27:13 +0000 (13:27 -0300)]
BlueZ connection configuration done
João Paulo Rechi Vita [Mon, 11 Aug 2008 16:26:10 +0000 (13:26 -0300)]
Adds SBC Codec to pa tree
João Paulo Rechi Vita [Thu, 31 Jul 2008 23:17:17 +0000 (20:17 -0300)]
Add module-bt-device and dependencies to automake
João Paulo Rechi Vita [Thu, 31 Jul 2008 23:16:43 +0000 (20:16 -0300)]
Initial file for module-bt-device
João Paulo Rechi Vita [Thu, 31 Jul 2008 23:15:32 +0000 (20:15 -0300)]
Add code from bluez/audio/ipc.[ch]
João Paulo Rechi Vita [Thu, 31 Jul 2008 19:17:03 +0000 (16:17 -0300)]
Add sender=org.bluez to dbus add match
João Paulo Rechi Vita [Thu, 24 Jul 2008 17:36:01 +0000 (14:36 -0300)]
Remove modargs, since module-bt-discover doesn't have any argument
João Paulo Rechi Vita [Wed, 23 Jul 2008 14:12:57 +0000 (11:12 -0300)]
Refactor all linked lists to use pulsecore/llist.h
João Paulo Rechi Vita [Tue, 22 Jul 2008 13:55:04 +0000 (10:55 -0300)]
Remove block delimiters from single line if blocks
João Paulo Rechi Vita [Tue, 22 Jul 2008 13:48:50 +0000 (10:48 -0300)]
Remove some unused vars and labels
João Paulo Rechi Vita [Tue, 22 Jul 2008 13:37:34 +0000 (10:37 -0300)]
Change booleans to pa_bool_t
João Paulo Rechi Vita [Tue, 22 Jul 2008 13:11:26 +0000 (10:11 -0300)]
We don't need call_dbus_method anymore
João Paulo Rechi Vita [Tue, 22 Jul 2008 13:08:37 +0000 (10:08 -0300)]
Don't need to explicity check if hcid is running anymore
João Paulo Rechi Vita [Tue, 22 Jul 2008 13:07:30 +0000 (10:07 -0300)]
Improve dbus communication
João Paulo Rechi Vita [Mon, 21 Jul 2008 14:23:25 +0000 (11:23 -0300)]
Changing all private functions to static
João Paulo Rechi Vita [Mon, 21 Jul 2008 13:53:20 +0000 (10:53 -0300)]
Remove VERBOSE definition
João Paulo Rechi Vita [Mon, 21 Jul 2008 12:42:29 +0000 (09:42 -0300)]
Adding dynamic bluetooth audio devices detection
João Paulo Rechi Vita [Fri, 18 Jul 2008 14:02:59 +0000 (11:02 -0300)]
Fix the symdef include
João Paulo Rechi Vita [Thu, 17 Jul 2008 19:56:03 +0000 (16:56 -0300)]
Fix comparison of strings of different case
João Paulo Rechi Vita [Thu, 17 Jul 2008 19:30:53 +0000 (16:30 -0300)]
Adding module-bt-discover to Makefile.am
João Paulo Rechi Vita [Thu, 17 Jul 2008 19:29:49 +0000 (16:29 -0300)]
Adding module-bt-discover
Omair Majid [Wed, 10 Sep 2008 21:07:50 +0000 (17:07 -0400)]
fix pa_stream_set_name
This patch fixes a bug in pa_stream_set_name. It uses the media.name
property instead of the application.name property when setting a
stream's name
>From
aa1bda11d2084365cb0cec57f37d59f07ab80052 Mon Sep 17 00:00:00 2001
From: Omair Majid <omajid@redhat.com>
Date: Wed, 10 Sep 2008 17:02:28 -0400
Subject: [PATCH] Fix bug in pa_stream_set_name
Signed-off-by: Lennart Poettering <lennart@poettering.net>
Arthur Taylor [Wed, 10 Sep 2008 03:28:20 +0000 (20:28 -0700)]
stream_started_callback userdata bug
Hello
I came across a bug where the userdata parameter of the
stream_started_callback was always NULL in some cases. I couldn't seem
to make a ticket, so here's the one line patch:
Signed-off-by: Lennart Poettering <lennart@poettering.net>
Lennart Poettering [Wed, 10 Sep 2008 09:18:05 +0000 (12:18 +0300)]
fix S32 validity check
Lennart Poettering [Mon, 8 Sep 2008 23:42:38 +0000 (01:42 +0200)]
add src/pulsecore/lock-autospawn.c to POTFILES.in
Lennart Poettering [Mon, 8 Sep 2008 23:28:22 +0000 (02:28 +0300)]
bump revisions
Lennart Poettering [Mon, 8 Sep 2008 23:18:21 +0000 (02:18 +0300)]
make sure peaks resampler also works for very short input buffers
Lennart Poettering [Mon, 8 Sep 2008 23:17:01 +0000 (02:17 +0300)]
minor improvements in debug handling
Lennart Poettering [Mon, 8 Sep 2008 23:14:27 +0000 (02:14 +0300)]
unbreak pa_idxset_rrobin
Lennart Poettering [Mon, 8 Sep 2008 21:10:54 +0000 (00:10 +0300)]
When returning from a suspend, pass exactly the same flags as originally when
we opened the device.
Lennart Poettering [Mon, 8 Sep 2008 21:06:12 +0000 (00:06 +0300)]
fix minor typo